fix homepage news, invoice
This commit is contained in:
@@ -294,10 +294,10 @@ class InvoiceDetailPage extends ConsumerWidget {
|
||||
|
||||
List<_InfoLine> _buildBuyerInfoLines(Invoice invoice) {
|
||||
return [
|
||||
if (invoice.buyerInfo!.name != null)
|
||||
_InfoLine(label: 'Người mua hàng', value: invoice.buyerInfo!.name!),
|
||||
if (invoice.customerName != null)
|
||||
_InfoLine(label: 'Tên đơn vị', value: invoice.customerName!),
|
||||
if (invoice.buyerInfo!.customerName != null)
|
||||
_InfoLine(label: 'Người mua hàng', value: invoice.buyerInfo!.customerName!),
|
||||
if (invoice.buyerInfo!.addressTitle != null)
|
||||
_InfoLine(label: 'Tên đơn vị', value: invoice.buyerInfo!.addressTitle!),
|
||||
if (invoice.buyerInfo!.taxCode != null)
|
||||
_InfoLine(label: 'Mã số thuế', value: invoice.buyerInfo!.taxCode!),
|
||||
if (invoice.buyerInfo!.fullAddress.isNotEmpty)
|
||||
|
||||
Reference in New Issue
Block a user