pos changes

This commit is contained in:
2026-08-06 19:26:53 +05:30
parent cb065a0f69
commit eebd10da6d
42 changed files with 3451 additions and 2531 deletions

View File

@@ -39,6 +39,7 @@ class OrderSyncRow {
required this.total,
required this.createdAt,
required this.isSynced,
this.itemCount = 0,
this.syncedAt,
this.attempts = 0,
this.error,
@@ -49,6 +50,9 @@ class OrderSyncRow {
final double total;
final DateTime createdAt;
final bool isSynced;
/// Units on the bill. Fractional because loose goods are sold by weight.
final double itemCount;
final DateTime? syncedAt;
final int attempts;
final String? error;