final receipt update
This commit is contained in:
25
EpsonTemplatesTest/Templates/assignments.json
Normal file
25
EpsonTemplatesTest/Templates/assignments.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"assignments": [
|
||||
{
|
||||
"receiptType": 1,
|
||||
"profileId": "tm-t30iii",
|
||||
"template": "kitchen-default.template"
|
||||
},
|
||||
{
|
||||
"receiptType": 1,
|
||||
"profileId": "tm-u220ii",
|
||||
"template": "kitchen-u220.template"
|
||||
},
|
||||
{
|
||||
"receiptType": 1,
|
||||
"profileId": null,
|
||||
"template": "kitchen-default.template"
|
||||
},
|
||||
{
|
||||
"receiptType": 2,
|
||||
"profileId": null,
|
||||
"template": "bar-default.template"
|
||||
}
|
||||
],
|
||||
"fallbackTemplate": "fallback.template"
|
||||
}
|
||||
59
EpsonTemplatesTest/Templates/bar-default.template
Normal file
59
EpsonTemplatesTest/Templates/bar-default.template
Normal file
@@ -0,0 +1,59 @@
|
||||
#red,big,center# {Title} #
|
||||
---
|
||||
|
||||
#center# {TransactionDateTime:dd-MMM-yy HH:mm} Nr.:{ReceiptNumber} #
|
||||
#center# {WaiterName} #
|
||||
#center# {WaiterId} #
|
||||
#big,bold,center# Tisch: {TableNumber} #
|
||||
|
||||
@if SpecialInstruction
|
||||
|
||||
#big,bold,center# {SpecialInstruction} #
|
||||
|
||||
@end
|
||||
---
|
||||
@foreach gang in Gangs
|
||||
#red,center# {gang.Id}. {gang.Name} #
|
||||
@foreach drink in gang.Dishes
|
||||
{drink.Number}x {drink.Name}
|
||||
@if drink.Modifications.Removed.count > 0
|
||||
@foreach removed in drink.Modifications.Removed
|
||||
#bold# - {removed} #
|
||||
@end
|
||||
@end
|
||||
@if drink.Modifications.Added.count > 0
|
||||
@foreach added in drink.Modifications.Added
|
||||
#bold# + {added} #
|
||||
@end
|
||||
@end
|
||||
@if drink.Comment
|
||||
#bold# Comment: {drink.Comment} #
|
||||
@end
|
||||
|
||||
@end
|
||||
@end
|
||||
@if Gangs.count > 0
|
||||
---
|
||||
@end
|
||||
@foreach drink in Dishes
|
||||
{drink.Number}x {drink.Name}
|
||||
@if drink.Modifications.Removed.count > 0
|
||||
@foreach removed in drink.Modifications.Removed
|
||||
#bold# - {removed} #
|
||||
@end
|
||||
@end
|
||||
@if drink.Modifications.Added.count > 0
|
||||
@foreach added in drink.Modifications.Added
|
||||
#bold# + {added} #
|
||||
@end
|
||||
@end
|
||||
@if drink.Comment
|
||||
#bold# Comment: {drink.Comment} #
|
||||
@end
|
||||
|
||||
@end
|
||||
@if Dishes.count > 0
|
||||
|
||||
---
|
||||
|
||||
@end
|
||||
9
EpsonTemplatesTest/Templates/fallback.template
Normal file
9
EpsonTemplatesTest/Templates/fallback.template
Normal file
@@ -0,0 +1,9 @@
|
||||
#center# Receipt #
|
||||
---
|
||||
@if Title
|
||||
{Title}
|
||||
@end
|
||||
@if TransactionDateTime
|
||||
{TransactionDateTime:dd-MMM-yy HH:mm}
|
||||
@end
|
||||
---
|
||||
60
EpsonTemplatesTest/Templates/final-receipt.template
Normal file
60
EpsonTemplatesTest/Templates/final-receipt.template
Normal file
@@ -0,0 +1,60 @@
|
||||
#center# {CompanyName} #
|
||||
#center# {Address1} #
|
||||
#center# {Address2} #
|
||||
#center# {Phone} #
|
||||
|
||||
@row bold
|
||||
|24|Rechnung Nr. {ReceiptNumber}|24,right|{DateTime:HH:mm dd.MM.yyyy}
|
||||
Guests: {Guests}
|
||||
|
||||
|
||||
|
||||
@foreach item in Items
|
||||
{item.Quantity}x {item.Description} {right:{item.UnitPrice:F2} {item.TotalPrice:F2} {item.TaxCategory}}
|
||||
@end
|
||||
|
||||
{right:---------}
|
||||
|
||||
#big,bold,center# Summe: {Total:F2} {Currency} #
|
||||
|
||||
@if TotalInAlternateCurrency
|
||||
{right:{TotalInAlternateCurrency:F2} {AlternateCurrency}}
|
||||
|
||||
@end
|
||||
#bold# {PaymentMethod} {right:{PaymentAmount:F2} {Currency}} #
|
||||
|
||||
@if TaxBreakdown.count > 0
|
||||
MwSt % Brutto Netto MwSt
|
||||
@foreach tax in TaxBreakdown
|
||||
{tax.Category}: {tax.Rate}% {tax.Gross:F2} {tax.Currency} {tax.Net:F2} {tax.Currency} {tax.TaxAmount:F2} {tax.Currency}
|
||||
@end
|
||||
@end
|
||||
|
||||
{right:Bedient von:} {WaiterName}
|
||||
{right:Terminal:} {Terminal}
|
||||
{right:Tisch:} {TableNumber}
|
||||
|
||||
|
||||
#center# {VatNumber} #
|
||||
|
||||
@if TerminalReceipt
|
||||
#center# {TerminalReceipt.ReceiptType} #
|
||||
#center# {TerminalReceipt.BookingType} #
|
||||
#center# {TerminalReceipt.PaymentSystem} #
|
||||
{TerminalReceipt.TransactionNumber}
|
||||
{TerminalReceipt.TransactionDateTime:dd.MM.yyyy} {right:{TerminalReceipt.TransactionDateTime:HH:mm:ss}}
|
||||
Trm-Id: {right:{TerminalReceipt.TerminalId}}
|
||||
AID: {right:{TerminalReceipt.AID}}
|
||||
Trx. Seq-Cnt: {right:{TerminalReceipt.TransactionSeqCount}}
|
||||
Trx. Ref-No: {right:{TerminalReceipt.TransactionRefNo}}
|
||||
Auth. Code: {right:{TerminalReceipt.AuthCode}}
|
||||
Acq-Id: {right:{TerminalReceipt.AcquirerId}}
|
||||
EFT {TerminalReceipt.Currency}: {right:{TerminalReceipt.EftAmount:F2}}
|
||||
Trinkgeld {TerminalReceipt.Currency}: {right:{TerminalReceipt.TipAmount:F2}}
|
||||
Total-EFT {TerminalReceipt.Currency}: {right:{TerminalReceipt.TotalEftAmount:F2}}
|
||||
---
|
||||
@end
|
||||
|
||||
#center# {ThankYouMessage} #
|
||||
#center# {GoodbyeMessageLine1} #
|
||||
#center# {GoodbyeMessageLine2} #
|
||||
57
EpsonTemplatesTest/Templates/kitchen-default.template
Normal file
57
EpsonTemplatesTest/Templates/kitchen-default.template
Normal file
@@ -0,0 +1,57 @@
|
||||
#red,big,tall,center# {Title} #
|
||||
---
|
||||
|
||||
#center# {TransactionDateTime:dd-MMM-yy HH:mm} Nr.:{ReceiptNumber} #
|
||||
#center# {WaiterName} #
|
||||
#center# {WaiterId} #
|
||||
#big,bold,center# Tisch: {TableNumber} #
|
||||
|
||||
@if SpecialInstruction
|
||||
|
||||
#big,bold,center# {SpecialInstruction} #
|
||||
|
||||
@end
|
||||
---
|
||||
@foreach gang in Gangs
|
||||
#red,big,tall,center# {gang.Id}. {gang.Name} #
|
||||
@foreach dish in gang.Dishes
|
||||
#tall# {dish.Number}x {dish.Name} #
|
||||
@if dish.Modifications.Removed.count > 0
|
||||
@foreach removed in dish.Modifications.Removed
|
||||
#bold,tall# - {removed} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Modifications.Added.count > 0
|
||||
@foreach added in dish.Modifications.Added
|
||||
#bold,tall# + {added} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Comment
|
||||
#bold,tall# Comment: {dish.Comment} #
|
||||
@end
|
||||
@end
|
||||
@end
|
||||
@if Gangs.count > 0
|
||||
---
|
||||
@end
|
||||
@foreach dish in Dishes
|
||||
#tall# {dish.Number}x {dish.Name} #
|
||||
@if dish.Modifications.Removed.count > 0
|
||||
@foreach removed in dish.Modifications.Removed
|
||||
#bold,tall# - {removed} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Modifications.Added.count > 0
|
||||
@foreach added in dish.Modifications.Added
|
||||
#bold,tall# + {added} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Comment
|
||||
#bold,tall# Comment: {dish.Comment} #
|
||||
@end
|
||||
@end
|
||||
@if Dishes.count > 0
|
||||
|
||||
---
|
||||
|
||||
@end
|
||||
57
EpsonTemplatesTest/Templates/kitchen-u220.template
Normal file
57
EpsonTemplatesTest/Templates/kitchen-u220.template
Normal file
@@ -0,0 +1,57 @@
|
||||
#red,big,tall,center# {Title} #
|
||||
---
|
||||
|
||||
#center# {TransactionDateTime:dd-MMM-yy HH:mm} Nr.:{ReceiptNumber} #
|
||||
#center# {WaiterName} #
|
||||
#center# {WaiterId} #
|
||||
#big,bold,center# Tisch: {TableNumber} #
|
||||
|
||||
@if SpecialInstruction
|
||||
|
||||
#big,bold,center# {SpecialInstruction} #
|
||||
|
||||
@end
|
||||
---
|
||||
@foreach gang in Gangs
|
||||
#red,big,tall,center# {gang.Id}. {gang.Name} #
|
||||
@foreach dish in gang.Dishes
|
||||
#tall# {dish.Number}x {dish.Name} #
|
||||
@if dish.Modifications.Removed.count > 0
|
||||
@foreach removed in dish.Modifications.Removed
|
||||
#bold,tall# - {removed} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Modifications.Added.count > 0
|
||||
@foreach added in dish.Modifications.Added
|
||||
#bold,tall# + {added} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Comment
|
||||
#bold,tall# Comment: {dish.Comment} #
|
||||
@end
|
||||
@end
|
||||
@end
|
||||
@if Gangs.count > 0
|
||||
---
|
||||
@end
|
||||
@foreach dish in Dishes
|
||||
#tall# {dish.Number}x {dish.Name} #
|
||||
@if dish.Modifications.Removed.count > 0
|
||||
@foreach removed in dish.Modifications.Removed
|
||||
#bold,tall# - {removed} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Modifications.Added.count > 0
|
||||
@foreach added in dish.Modifications.Added
|
||||
#bold,tall# + {added} #
|
||||
@end
|
||||
@end
|
||||
@if dish.Comment
|
||||
#bold,tall# Comment: {dish.Comment} #
|
||||
@end
|
||||
@end
|
||||
@if Dishes.count > 0
|
||||
|
||||
---
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user