Add Order item & summary customise font pdf

This commit is contained in:
San Wai Lwin
2018-05-24 17:02:54 +06:30
parent 912f801de9
commit d910c4078b
9 changed files with 405 additions and 0 deletions

View File

@@ -53,6 +53,17 @@ For Order Item & Order Summary Slim
app/models/printer/receipt_printer.rb
}
For Order Item & Order Summary Customise PDF
*** change OrderItemPdf to OrderItemCustomisePdf and OrderSummaryPdf to OrderSummaryCustomisePdf
1) settings/lookups => { type:print_settings, name:OrderCustomisePdf, value:1 }
* no need to change these files
{ 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
* Can change Header font size and Item Font Size as you like
For ReceiptBillA5Pdf
*** change ReceiptBillPdf to ReceiptBillA5Pdf
1) settings/print_settings , width:680, height:1450, Header font Size:16, Item font size:14