made changes to submit receipt

This commit is contained in:
Finn 2019-05-21 15:30:14 +01:00
parent c15fdf1382
commit a784e2da9c
No known key found for this signature in database
GPG key ID: 7455B4B17685B598
3 changed files with 11 additions and 7 deletions

View file

@ -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,