Invoices
This commit is contained in:
parent
e5ede1c1d4
commit
f00f2f1bef
|
|
@ -114,7 +114,7 @@ linter:
|
|||
- prefer_bool_in_asserts
|
||||
- prefer_collection_literals
|
||||
- prefer_conditional_assignment
|
||||
- prefer_const_constructors
|
||||
# - prefer_const_constructors
|
||||
- prefer_const_constructors_in_immutables
|
||||
- prefer_const_declarations
|
||||
- prefer_const_literals_to_create_immutables
|
||||
|
|
|
|||
|
|
@ -172,11 +172,19 @@ class InvoiceEditDetailsState extends State<InvoiceEditDetails> {
|
|||
value: invoice.isAmountDiscount,
|
||||
items: [
|
||||
DropdownMenuItem<bool>(
|
||||
child: Text(localization.percent),
|
||||
child: Text(localization.percent,
|
||||
style: TextStyle(
|
||||
color: Colors.grey[600],
|
||||
),
|
||||
),
|
||||
value: false,
|
||||
),
|
||||
DropdownMenuItem<bool>(
|
||||
child: Text(localization.amount),
|
||||
child: Text(localization.amount,
|
||||
style: TextStyle(
|
||||
color: Colors.grey[600],
|
||||
),
|
||||
),
|
||||
value: true,
|
||||
)
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue