commit by nda

This commit is contained in:
nandar
2018-06-21 14:56:07 +06:30
parent 15d1df08fa
commit f03719f1b7
12 changed files with 115 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
default: &default
adapter: postgresql
# host: http://192.168.1.81
host: localhost
pool: 5
timeout: 5000
encoding: utf8
@@ -15,8 +15,9 @@ default: &default
development:
<<: *default
database: nemo_production
username: mayzin
database: nemo_august
username: nda
password: 123
default: &default
adapter: postgresql

View File

@@ -39,11 +39,16 @@ Rails.application.routes.draw do
post "batches/end" => "batches#batch_end"
get "batches/resume_batch" =>"batches#resume_batch"
get "batches/batch_progress_list" =>"batches#batch_progress_list"
get "get_item_by_batch" =>"batch_line_items#get_item_by_batch"
#client
get "clients" => 'clients#index'
#product
get "products" => "products#index"
#batch_line_items
post "generate_card_account_items" =>"batch_line_items#generate_card_account_items"
post "update_manufacture_uid" => "batch_line_items#update_manufacture_uid"
end
end