made changes to submit receipt
This commit is contained in:
parent
c15fdf1382
commit
a784e2da9c
3 changed files with 11 additions and 7 deletions
|
@ -104,6 +104,7 @@ class ReceiptPageState extends State<ReceiptPage> {
|
|||
inputType: InputType.both,
|
||||
format: DateFormat("EEEE, MMMM d, yyyy 'at' h:mma"),
|
||||
editable: true,
|
||||
controller: _timeController,
|
||||
decoration: InputDecoration(
|
||||
labelText: 'Date/Time of Transaction', hasFloatingPlaceholder: false),
|
||||
onChanged: (dt) => setState(() => date = dt),
|
||||
|
@ -144,7 +145,7 @@ class ReceiptPageState extends State<ReceiptPage> {
|
|||
submitReceiptAPI(context, _amountController.text,
|
||||
_timeController.text);
|
||||
},
|
||||
child: Text("LOGIN",
|
||||
child: Text("SUBMIT",
|
||||
style:
|
||||
TextStyle(color: Colors.white, fontSize: 22.0)),
|
||||
color: Colors.blue,
|
||||
|
|
Reference in a new issue