Add client initiated payments
This commit is contained in:
parent
f09126fec4
commit
b9c690f984
|
|
@ -969,10 +969,6 @@ abstract class SettingsEntity
|
||||||
@BuiltValueField(wireName: 'client_initiated_payments_minimum')
|
@BuiltValueField(wireName: 'client_initiated_payments_minimum')
|
||||||
double get clientInitiatedPaymentsMinimum;
|
double get clientInitiatedPaymentsMinimum;
|
||||||
|
|
||||||
@nullable
|
|
||||||
@BuiltValueField(wireName: 'client_initiated_payments_recurring')
|
|
||||||
bool get clientInitiatedPaymentsRecurring;
|
|
||||||
|
|
||||||
@nullable
|
@nullable
|
||||||
@BuiltValueField(wireName: 'sync_invoice_quote_columns')
|
@BuiltValueField(wireName: 'sync_invoice_quote_columns')
|
||||||
bool get syncInvoiceQuoteColumns;
|
bool get syncInvoiceQuoteColumns;
|
||||||
|
|
|
||||||
|
|
@ -1485,13 +1485,6 @@ class _$SettingsEntitySerializer
|
||||||
..add(serializers.serialize(value,
|
..add(serializers.serialize(value,
|
||||||
specifiedType: const FullType(double)));
|
specifiedType: const FullType(double)));
|
||||||
}
|
}
|
||||||
value = object.clientInitiatedPaymentsRecurring;
|
|
||||||
if (value != null) {
|
|
||||||
result
|
|
||||||
..add('client_initiated_payments_recurring')
|
|
||||||
..add(
|
|
||||||
serializers.serialize(value, specifiedType: const FullType(bool)));
|
|
||||||
}
|
|
||||||
value = object.syncInvoiceQuoteColumns;
|
value = object.syncInvoiceQuoteColumns;
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
result
|
result
|
||||||
|
|
@ -2363,10 +2356,6 @@ class _$SettingsEntitySerializer
|
||||||
result.clientInitiatedPaymentsMinimum = serializers.deserialize(value,
|
result.clientInitiatedPaymentsMinimum = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(double)) as double;
|
specifiedType: const FullType(double)) as double;
|
||||||
break;
|
break;
|
||||||
case 'client_initiated_payments_recurring':
|
|
||||||
result.clientInitiatedPaymentsRecurring = serializers
|
|
||||||
.deserialize(value, specifiedType: const FullType(bool)) as bool;
|
|
||||||
break;
|
|
||||||
case 'sync_invoice_quote_columns':
|
case 'sync_invoice_quote_columns':
|
||||||
result.syncInvoiceQuoteColumns = serializers.deserialize(value,
|
result.syncInvoiceQuoteColumns = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(bool)) as bool;
|
specifiedType: const FullType(bool)) as bool;
|
||||||
|
|
@ -2872,8 +2861,6 @@ class _$SettingsEntity extends SettingsEntity {
|
||||||
@override
|
@override
|
||||||
final double clientInitiatedPaymentsMinimum;
|
final double clientInitiatedPaymentsMinimum;
|
||||||
@override
|
@override
|
||||||
final bool clientInitiatedPaymentsRecurring;
|
|
||||||
@override
|
|
||||||
final bool syncInvoiceQuoteColumns;
|
final bool syncInvoiceQuoteColumns;
|
||||||
|
|
||||||
factory _$SettingsEntity([void Function(SettingsEntityBuilder) updates]) =>
|
factory _$SettingsEntity([void Function(SettingsEntityBuilder) updates]) =>
|
||||||
|
|
@ -3091,7 +3078,6 @@ class _$SettingsEntity extends SettingsEntity {
|
||||||
this.acceptPurchaseOrderNumber,
|
this.acceptPurchaseOrderNumber,
|
||||||
this.clientInitiatedPayments,
|
this.clientInitiatedPayments,
|
||||||
this.clientInitiatedPaymentsMinimum,
|
this.clientInitiatedPaymentsMinimum,
|
||||||
this.clientInitiatedPaymentsRecurring,
|
|
||||||
this.syncInvoiceQuoteColumns})
|
this.syncInvoiceQuoteColumns})
|
||||||
: super._();
|
: super._();
|
||||||
|
|
||||||
|
|
@ -3323,8 +3309,6 @@ class _$SettingsEntity extends SettingsEntity {
|
||||||
clientInitiatedPayments == other.clientInitiatedPayments &&
|
clientInitiatedPayments == other.clientInitiatedPayments &&
|
||||||
clientInitiatedPaymentsMinimum ==
|
clientInitiatedPaymentsMinimum ==
|
||||||
other.clientInitiatedPaymentsMinimum &&
|
other.clientInitiatedPaymentsMinimum &&
|
||||||
clientInitiatedPaymentsRecurring ==
|
|
||||||
other.clientInitiatedPaymentsRecurring &&
|
|
||||||
syncInvoiceQuoteColumns == other.syncInvoiceQuoteColumns;
|
syncInvoiceQuoteColumns == other.syncInvoiceQuoteColumns;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3544,7 +3528,6 @@ class _$SettingsEntity extends SettingsEntity {
|
||||||
_$hash = $jc(_$hash, acceptPurchaseOrderNumber.hashCode);
|
_$hash = $jc(_$hash, acceptPurchaseOrderNumber.hashCode);
|
||||||
_$hash = $jc(_$hash, clientInitiatedPayments.hashCode);
|
_$hash = $jc(_$hash, clientInitiatedPayments.hashCode);
|
||||||
_$hash = $jc(_$hash, clientInitiatedPaymentsMinimum.hashCode);
|
_$hash = $jc(_$hash, clientInitiatedPaymentsMinimum.hashCode);
|
||||||
_$hash = $jc(_$hash, clientInitiatedPaymentsRecurring.hashCode);
|
|
||||||
_$hash = $jc(_$hash, syncInvoiceQuoteColumns.hashCode);
|
_$hash = $jc(_$hash, syncInvoiceQuoteColumns.hashCode);
|
||||||
_$hash = $jf(_$hash);
|
_$hash = $jf(_$hash);
|
||||||
return __hashCode ??= _$hash;
|
return __hashCode ??= _$hash;
|
||||||
|
|
@ -3769,8 +3752,6 @@ class _$SettingsEntity extends SettingsEntity {
|
||||||
..add('clientInitiatedPayments', clientInitiatedPayments)
|
..add('clientInitiatedPayments', clientInitiatedPayments)
|
||||||
..add(
|
..add(
|
||||||
'clientInitiatedPaymentsMinimum', clientInitiatedPaymentsMinimum)
|
'clientInitiatedPaymentsMinimum', clientInitiatedPaymentsMinimum)
|
||||||
..add('clientInitiatedPaymentsRecurring',
|
|
||||||
clientInitiatedPaymentsRecurring)
|
|
||||||
..add('syncInvoiceQuoteColumns', syncInvoiceQuoteColumns))
|
..add('syncInvoiceQuoteColumns', syncInvoiceQuoteColumns))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -4816,13 +4797,6 @@ class SettingsEntityBuilder
|
||||||
set clientInitiatedPaymentsMinimum(double clientInitiatedPaymentsMinimum) =>
|
set clientInitiatedPaymentsMinimum(double clientInitiatedPaymentsMinimum) =>
|
||||||
_$this._clientInitiatedPaymentsMinimum = clientInitiatedPaymentsMinimum;
|
_$this._clientInitiatedPaymentsMinimum = clientInitiatedPaymentsMinimum;
|
||||||
|
|
||||||
bool _clientInitiatedPaymentsRecurring;
|
|
||||||
bool get clientInitiatedPaymentsRecurring =>
|
|
||||||
_$this._clientInitiatedPaymentsRecurring;
|
|
||||||
set clientInitiatedPaymentsRecurring(bool clientInitiatedPaymentsRecurring) =>
|
|
||||||
_$this._clientInitiatedPaymentsRecurring =
|
|
||||||
clientInitiatedPaymentsRecurring;
|
|
||||||
|
|
||||||
bool _syncInvoiceQuoteColumns;
|
bool _syncInvoiceQuoteColumns;
|
||||||
bool get syncInvoiceQuoteColumns => _$this._syncInvoiceQuoteColumns;
|
bool get syncInvoiceQuoteColumns => _$this._syncInvoiceQuoteColumns;
|
||||||
set syncInvoiceQuoteColumns(bool syncInvoiceQuoteColumns) =>
|
set syncInvoiceQuoteColumns(bool syncInvoiceQuoteColumns) =>
|
||||||
|
|
@ -5044,7 +5018,6 @@ class SettingsEntityBuilder
|
||||||
_acceptPurchaseOrderNumber = $v.acceptPurchaseOrderNumber;
|
_acceptPurchaseOrderNumber = $v.acceptPurchaseOrderNumber;
|
||||||
_clientInitiatedPayments = $v.clientInitiatedPayments;
|
_clientInitiatedPayments = $v.clientInitiatedPayments;
|
||||||
_clientInitiatedPaymentsMinimum = $v.clientInitiatedPaymentsMinimum;
|
_clientInitiatedPaymentsMinimum = $v.clientInitiatedPaymentsMinimum;
|
||||||
_clientInitiatedPaymentsRecurring = $v.clientInitiatedPaymentsRecurring;
|
|
||||||
_syncInvoiceQuoteColumns = $v.syncInvoiceQuoteColumns;
|
_syncInvoiceQuoteColumns = $v.syncInvoiceQuoteColumns;
|
||||||
_$v = null;
|
_$v = null;
|
||||||
}
|
}
|
||||||
|
|
@ -5282,8 +5255,6 @@ class SettingsEntityBuilder
|
||||||
acceptPurchaseOrderNumber: acceptPurchaseOrderNumber,
|
acceptPurchaseOrderNumber: acceptPurchaseOrderNumber,
|
||||||
clientInitiatedPayments: clientInitiatedPayments,
|
clientInitiatedPayments: clientInitiatedPayments,
|
||||||
clientInitiatedPaymentsMinimum: clientInitiatedPaymentsMinimum,
|
clientInitiatedPaymentsMinimum: clientInitiatedPaymentsMinimum,
|
||||||
clientInitiatedPaymentsRecurring:
|
|
||||||
clientInitiatedPaymentsRecurring,
|
|
||||||
syncInvoiceQuoteColumns: syncInvoiceQuoteColumns);
|
syncInvoiceQuoteColumns: syncInvoiceQuoteColumns);
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
String _$failedField;
|
String _$failedField;
|
||||||
|
|
|
||||||
|
|
@ -423,6 +423,7 @@ class SettingsSearch extends StatelessWidget {
|
||||||
'allow_over_payment',
|
'allow_over_payment',
|
||||||
'allow_under_payment',
|
'allow_under_payment',
|
||||||
'auto_bill_standard_invoices#2023-01-17',
|
'auto_bill_standard_invoices#2023-01-17',
|
||||||
|
'client_initiated_payments#2023-03-20',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
kSettingsTaxSettings: [
|
kSettingsTaxSettings: [
|
||||||
|
|
@ -546,6 +547,7 @@ class SettingsSearch extends StatelessWidget {
|
||||||
'logo_size#2023-01-26',
|
'logo_size#2023-01-26',
|
||||||
'show_paid_stamp#2023-01-29',
|
'show_paid_stamp#2023-01-29',
|
||||||
'show_shipping_address#2023-01-29',
|
'show_shipping_address#2023-01-29',
|
||||||
|
'share_invoice_quote_columns#2023-03-20',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
kSettingsCustomDesigns: [
|
kSettingsCustomDesigns: [
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
||||||
'client_initiated_payments': 'Client Initiated Payments',
|
'client_initiated_payments': 'Client Initiated Payments',
|
||||||
'client_initiated_payments_help':
|
'client_initiated_payments_help':
|
||||||
'Support making a payment in the client portal without an invoice',
|
'Support making a payment in the client portal without an invoice',
|
||||||
'share_invoice_quote_columns': 'Share invoice/quote columns',
|
'share_invoice_quote_columns': 'Share Invoice/Quote Columns',
|
||||||
'cc_email': 'CC Email',
|
'cc_email': 'CC Email',
|
||||||
'payment_balance': 'Payment Balance',
|
'payment_balance': 'Payment Balance',
|
||||||
'view_report_permission':
|
'view_report_permission':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue