split struct

This commit is contained in:
efrilm
2025-11-10 13:28:18 +07:00
parent c5673a147c
commit f5256fb33d
10 changed files with 405 additions and 56 deletions
@@ -241,7 +241,9 @@ class ReceiptComponentBuilder {
List<int> bytes = [];
bytes += separator();
bytes += row2Columns('Total Item', totalItems.toString());
if (totalItems > 0) {
bytes += row2Columns('Total Item', totalItems.toString());
}
bytes += row2Columns('Subtotal', subtotal);
bytes += row2Columns('Diskon', discount);
bytes += separator();