modify
This commit is contained in:
@@ -86,10 +86,8 @@ class _PaymentPageState extends State<PaymentPage> {
|
||||
child: Container(
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Text(
|
||||
'Remaining Balance : ',
|
||||
style: TextStyle(fontSize: 16),
|
||||
),
|
||||
LocalText(context, 'remaining_balance',
|
||||
color: Colors.black, fontSize: 16),
|
||||
Text(
|
||||
'${_invoice.amount}',
|
||||
style: TextStyle(
|
||||
@@ -104,7 +102,8 @@ class _PaymentPageState extends State<PaymentPage> {
|
||||
child: ListView(
|
||||
children: [
|
||||
ExpansionTile(
|
||||
title: Text('Payment Attachment'),
|
||||
title: LocalText(context, 'payment.attachment',
|
||||
color: Colors.black, fontSize: 16),
|
||||
children: <Widget>[
|
||||
Container(
|
||||
padding: EdgeInsets.only(left: 20),
|
||||
@@ -127,7 +126,8 @@ class _PaymentPageState extends State<PaymentPage> {
|
||||
],
|
||||
),
|
||||
ExpansionTile(
|
||||
title: Text('Receipt'),
|
||||
title: LocalText(context, 'payment.receipt',
|
||||
color: Colors.black, fontSize: 16),
|
||||
children: <Widget>[
|
||||
Container(
|
||||
child: SingleChildScrollView(
|
||||
@@ -155,24 +155,6 @@ class _PaymentPageState extends State<PaymentPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
owner
|
||||
? Container(
|
||||
padding: EdgeInsets.only(top: 20),
|
||||
child: Align(
|
||||
alignment: Alignment.bottomRight,
|
||||
child: FloatingActionButton.extended(
|
||||
icon: Icon(Icons.add),
|
||||
label: Text(AppTranslations.of(context)
|
||||
.text("invoice.add_box")),
|
||||
backgroundColor: primaryColor,
|
||||
onPressed: () {
|
||||
// Navigator.of(context)
|
||||
// .push(BottomUpPageRoute(PackageAddition()));
|
||||
},
|
||||
),
|
||||
),
|
||||
)
|
||||
: Container(),
|
||||
SizedBox(height: 25),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user