1.0.9
This commit is contained in:
@@ -77,6 +77,14 @@ public class ReceiptConverter
|
||||
commands.Add(new PrintCommand(""));
|
||||
}
|
||||
|
||||
// Discount
|
||||
//if (finalReceipt.DiscountInfo != null && finalReceipt.DiscountInfo.Amount > 0)
|
||||
//{
|
||||
|
||||
// commands.Add(new PrintCommand(finalReceipt.DiscountInfo.Description.PadLeft(_lineWidth/2)));
|
||||
// commands.Add(new PrintCommand(""));
|
||||
//}
|
||||
|
||||
// Split payments
|
||||
if (finalReceipt.SplitPayments != null && finalReceipt.SplitPayments.Count > 0)
|
||||
{
|
||||
@@ -118,7 +126,10 @@ public class ReceiptConverter
|
||||
|
||||
// Footer info
|
||||
commands.Add(new PrintCommand($"Bedient von:".PadLeft(_lineWidth / 2) + $" {finalReceipt.WaiterName}"));
|
||||
commands.Add(new PrintCommand($"Terminal:".PadLeft(_lineWidth / 2) + $" {finalReceipt.Terminal}"));
|
||||
|
||||
if(!string.IsNullOrEmpty(finalReceipt.Terminal))
|
||||
commands.Add(new PrintCommand($"Terminal:".PadLeft(_lineWidth / 2) + $" {finalReceipt.Terminal}"));
|
||||
|
||||
commands.Add(new PrintCommand($"Tisch:".PadLeft(_lineWidth / 2)+$" {finalReceipt.TableNumber}"));
|
||||
commands.Add(new PrintCommand(""));
|
||||
commands.Add(new PrintCommand(""));
|
||||
|
||||
Reference in New Issue
Block a user