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')
|
||||
double get clientInitiatedPaymentsMinimum;
|
||||
|
||||
@nullable
|
||||
@BuiltValueField(wireName: 'client_initiated_payments_recurring')
|
||||
bool get clientInitiatedPaymentsRecurring;
|
||||
|
||||
@nullable
|
||||
@BuiltValueField(wireName: 'sync_invoice_quote_columns')
|
||||
bool get syncInvoiceQuoteColumns;
|
||||
|
|
|
|||
|
|
@ -1485,13 +1485,6 @@ class _$SettingsEntitySerializer
|
|||
..add(serializers.serialize(value,
|
||||
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;
|
||||
if (value != null) {
|
||||
result
|
||||
|
|
@ -2363,10 +2356,6 @@ class _$SettingsEntitySerializer
|
|||
result.clientInitiatedPaymentsMinimum = serializers.deserialize(value,
|
||||
specifiedType: const FullType(double)) as double;
|
||||
break;
|
||||
case 'client_initiated_payments_recurring':
|
||||
result.clientInitiatedPaymentsRecurring = serializers
|
||||
.deserialize(value, specifiedType: const FullType(bool)) as bool;
|
||||
break;
|
||||
case 'sync_invoice_quote_columns':
|
||||
result.syncInvoiceQuoteColumns = serializers.deserialize(value,
|
||||
specifiedType: const FullType(bool)) as bool;
|
||||
|
|
@ -2872,8 +2861,6 @@ class _$SettingsEntity extends SettingsEntity {
|
|||
@override
|
||||
final double clientInitiatedPaymentsMinimum;
|
||||
@override
|
||||
final bool clientInitiatedPaymentsRecurring;
|
||||
@override
|
||||
final bool syncInvoiceQuoteColumns;
|
||||
|
||||
factory _$SettingsEntity([void Function(SettingsEntityBuilder) updates]) =>
|
||||
|
|
@ -3091,7 +3078,6 @@ class _$SettingsEntity extends SettingsEntity {
|
|||
this.acceptPurchaseOrderNumber,
|
||||
this.clientInitiatedPayments,
|
||||
this.clientInitiatedPaymentsMinimum,
|
||||
this.clientInitiatedPaymentsRecurring,
|
||||
this.syncInvoiceQuoteColumns})
|
||||
: super._();
|
||||
|
||||
|
|
@ -3323,8 +3309,6 @@ class _$SettingsEntity extends SettingsEntity {
|
|||
clientInitiatedPayments == other.clientInitiatedPayments &&
|
||||
clientInitiatedPaymentsMinimum ==
|
||||
other.clientInitiatedPaymentsMinimum &&
|
||||
clientInitiatedPaymentsRecurring ==
|
||||
other.clientInitiatedPaymentsRecurring &&
|
||||
syncInvoiceQuoteColumns == other.syncInvoiceQuoteColumns;
|
||||
}
|
||||
|
||||
|
|
@ -3544,7 +3528,6 @@ class _$SettingsEntity extends SettingsEntity {
|
|||
_$hash = $jc(_$hash, acceptPurchaseOrderNumber.hashCode);
|
||||
_$hash = $jc(_$hash, clientInitiatedPayments.hashCode);
|
||||
_$hash = $jc(_$hash, clientInitiatedPaymentsMinimum.hashCode);
|
||||
_$hash = $jc(_$hash, clientInitiatedPaymentsRecurring.hashCode);
|
||||
_$hash = $jc(_$hash, syncInvoiceQuoteColumns.hashCode);
|
||||
_$hash = $jf(_$hash);
|
||||
return __hashCode ??= _$hash;
|
||||
|
|
@ -3769,8 +3752,6 @@ class _$SettingsEntity extends SettingsEntity {
|
|||
..add('clientInitiatedPayments', clientInitiatedPayments)
|
||||
..add(
|
||||
'clientInitiatedPaymentsMinimum', clientInitiatedPaymentsMinimum)
|
||||
..add('clientInitiatedPaymentsRecurring',
|
||||
clientInitiatedPaymentsRecurring)
|
||||
..add('syncInvoiceQuoteColumns', syncInvoiceQuoteColumns))
|
||||
.toString();
|
||||
}
|
||||
|
|
@ -4816,13 +4797,6 @@ class SettingsEntityBuilder
|
|||
set clientInitiatedPaymentsMinimum(double clientInitiatedPaymentsMinimum) =>
|
||||
_$this._clientInitiatedPaymentsMinimum = clientInitiatedPaymentsMinimum;
|
||||
|
||||
bool _clientInitiatedPaymentsRecurring;
|
||||
bool get clientInitiatedPaymentsRecurring =>
|
||||
_$this._clientInitiatedPaymentsRecurring;
|
||||
set clientInitiatedPaymentsRecurring(bool clientInitiatedPaymentsRecurring) =>
|
||||
_$this._clientInitiatedPaymentsRecurring =
|
||||
clientInitiatedPaymentsRecurring;
|
||||
|
||||
bool _syncInvoiceQuoteColumns;
|
||||
bool get syncInvoiceQuoteColumns => _$this._syncInvoiceQuoteColumns;
|
||||
set syncInvoiceQuoteColumns(bool syncInvoiceQuoteColumns) =>
|
||||
|
|
@ -5044,7 +5018,6 @@ class SettingsEntityBuilder
|
|||
_acceptPurchaseOrderNumber = $v.acceptPurchaseOrderNumber;
|
||||
_clientInitiatedPayments = $v.clientInitiatedPayments;
|
||||
_clientInitiatedPaymentsMinimum = $v.clientInitiatedPaymentsMinimum;
|
||||
_clientInitiatedPaymentsRecurring = $v.clientInitiatedPaymentsRecurring;
|
||||
_syncInvoiceQuoteColumns = $v.syncInvoiceQuoteColumns;
|
||||
_$v = null;
|
||||
}
|
||||
|
|
@ -5282,8 +5255,6 @@ class SettingsEntityBuilder
|
|||
acceptPurchaseOrderNumber: acceptPurchaseOrderNumber,
|
||||
clientInitiatedPayments: clientInitiatedPayments,
|
||||
clientInitiatedPaymentsMinimum: clientInitiatedPaymentsMinimum,
|
||||
clientInitiatedPaymentsRecurring:
|
||||
clientInitiatedPaymentsRecurring,
|
||||
syncInvoiceQuoteColumns: syncInvoiceQuoteColumns);
|
||||
} catch (_) {
|
||||
String _$failedField;
|
||||
|
|
|
|||
|
|
@ -423,6 +423,7 @@ class SettingsSearch extends StatelessWidget {
|
|||
'allow_over_payment',
|
||||
'allow_under_payment',
|
||||
'auto_bill_standard_invoices#2023-01-17',
|
||||
'client_initiated_payments#2023-03-20',
|
||||
]
|
||||
],
|
||||
kSettingsTaxSettings: [
|
||||
|
|
@ -546,6 +547,7 @@ class SettingsSearch extends StatelessWidget {
|
|||
'logo_size#2023-01-26',
|
||||
'show_paid_stamp#2023-01-29',
|
||||
'show_shipping_address#2023-01-29',
|
||||
'share_invoice_quote_columns#2023-03-20',
|
||||
],
|
||||
],
|
||||
kSettingsCustomDesigns: [
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ mixin LocalizationsProvider on LocaleCodeAware {
|
|||
'client_initiated_payments': 'Client Initiated Payments',
|
||||
'client_initiated_payments_help':
|
||||
'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',
|
||||
'payment_balance': 'Payment Balance',
|
||||
'view_report_permission':
|
||||
|
|
|
|||
Loading…
Reference in New Issue