Handle refund error

This commit is contained in:
Hillel Coren 2020-05-15 18:31:28 +03:00
parent 4d043d2746
commit c77d2f5ce3
3 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,8 @@ Note: the mobile app requires the latest version of the web app.
- Run `cp android/app/build.gradle.dev android/app/build.gradle` to support running the code unsigned.
- Run `flutter run` while you have a device connected to the computer or an emulator running and now you can run it.
Note: if you don't have an Invoice Ninja backend you can set DEMO_MODE to true in lib/.env.dart to run the app offline.
## Application Architecture
The application was created using the [Flutter Redux Starter](https://github.com/hillelcoren/flutter-redux-starter).

View File

@ -340,6 +340,7 @@ class _PaymentableEditorState extends State<PaymentableEditor> {
final localization = AppLocalization.of(context);
return Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
if (widget.entityType == EntityType.invoice)
Expanded(

View File

@ -291,6 +291,7 @@ class _PaymentableEditorState extends State<PaymentableEditor> {
final hasMultipleInvoices = payment.invoicePaymentables.length > 1;
return Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Expanded(
child: EntityDropdown(