add order_slim_pdf in settings/lookups and change order_slim_pdf

This commit is contained in:
phyusin
2018-01-16 14:21:50 +06:30
parent d6a4b3992d
commit 5a5f47c946
6 changed files with 134 additions and 14 deletions

View File

@@ -44,11 +44,14 @@ For Extra Time
For Order Item & Order Summary Slim
*** change OrderItemPdf to OrderItemSlimPdf and OrderSummaryPdf to OrderSummarySlimPdf
1) settings/print_settings
2) app/controllers/oqs/edit_controller.rb
3) app/controllers/oqs/print_controller.rb
4) app/models/order_queue_station.rb
5) app/models/printer/order_queue_printer.rb
6) app/models/printer/receipt_printer.rb
2) settings/lookups => { type:order_slim_pdf, name:OrderSlimPdf, value:1 }
* no need to change these page
{ app/controllers/oqs/edit_controller.rb
app/controllers/oqs/print_controller.rb
app/models/order_queue_station.rb
app/models/printer/order_queue_printer.rb
app/models/printer/receipt_printer.rb
}
For Bank Integration setting
1) rake db:migrate for card_sale_trans, card_settle_trans