api for cashier app

This commit is contained in:
phyusin
2018-10-12 15:18:23 +06:30
parent 549a655bad
commit 11b4bdc804
11 changed files with 258 additions and 27 deletions

View File

@@ -93,6 +93,13 @@ scope "(:locale)", locale: /en|mm/ do
end
post "sound_effect" => "sound_effect#sound_effect"
#API for cashier app
post 'authenticate_cashier' => "authenticate#create_cashier"
post "shifts/new" => "shifts#create"
post "shifts/close" => "shifts#update"
post "request_bill" => "bill#request_bill"
post "paymal_payment" => "payments#paymal_payment"
end
#--------- Cashier ------------#