feat: product variant

This commit is contained in:
efrilm
2025-08-04 17:42:39 +07:00
parent 04e1edbe79
commit 835c834ce1
18 changed files with 718 additions and 1024 deletions
@@ -135,12 +135,21 @@ class SalesListOrder extends StatelessWidget {
fontWeight: FontWeight.w600,
),
),
if (product.productVariantName != null)
Text(
product.productVariantName ?? '',
style: const TextStyle(
fontSize: 12,
fontWeight: FontWeight.w600,
),
),
Text(
(product.unitPrice ?? 0)
.toString()
.currencyFormatRpV2,
style: const TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
),
),
],