Files
Print_server/EpsonTemplatesTest/Templates/bar-default.template
2026-01-22 11:13:07 +01:00

60 lines
1.1 KiB
Plaintext

#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