update invoice section show download option
This commit is contained in:
@@ -298,17 +298,18 @@ class _InvoiceDetailViewState extends State<InvoiceDetailView>
|
||||
() => setState(() => s3 = !s3), scale),
|
||||
sectionBody(s3, [
|
||||
detailRow(Icons.money, "Amount", invoice['final_amount'], scale),
|
||||
detailRow(Icons.percent, "GST %", invoice['gst_percent'], scale),
|
||||
detailRow(Icons.percent, "GST percent %", invoice['gst_percent'], scale),
|
||||
detailRow(Icons.percent, "GST amount %", invoice['gst_amount'], scale),
|
||||
detailRow(Icons.summarize, "Total", invoice['final_amount_with_gst'], scale),
|
||||
], scale),
|
||||
|
||||
sectionHeader("Payment Details", Icons.payment, s4,
|
||||
() => setState(() => s4 = !s4), scale),
|
||||
sectionBody(s4, [
|
||||
detailRow(Icons.credit_card, "Method", invoice['payment_method'], scale),
|
||||
detailRow(Icons.confirmation_number, "Reference",
|
||||
invoice['reference_no'], scale),
|
||||
], scale),
|
||||
// sectionHeader("Payment Details", Icons.payment, s4,
|
||||
// () => setState(() => s4 = !s4), scale),
|
||||
// sectionBody(s4, [
|
||||
// detailRow(Icons.credit_card, "Method", invoice['payment_method'], scale),
|
||||
// detailRow(Icons.confirmation_number, "Reference",
|
||||
// invoice['reference_no'], scale),
|
||||
// ], scale),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user