grouping in kitchen receipt

This commit is contained in:
EugeneTes
2026-02-24 11:54:19 +01:00
parent 484e6bf3e1
commit 11dfd6ead4
4 changed files with 251 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ public class KitchenReceiptConverterAdapter : IReceiptConverter
public List<PrintCommand> Convert(string jsonContent)
{
var receipt = JsonSerializer.Deserialize<KitchenReceipt>(jsonContent);
var converter = new KitchenReceiptConverter(_lineWidth, _bigFontLineWidth);
var converter = new KitchenReceiptConverterKlinglers(_lineWidth, _bigFontLineWidth);
return converter.ConvertToPrintCommands(receipt);
}
}