Adjust UI

This commit is contained in:
Hillel Coren 2021-09-24 15:05:42 +03:00
parent 85e53496ed
commit 48941bdd7d
6 changed files with 16 additions and 16 deletions

View File

@ -175,6 +175,7 @@ abstract class ClientEntity extends Object
String get groupId; String get groupId;
@nullable @nullable
@BuiltValueField(compare: false)
int get loadedAt; int get loadedAt;
bool get isLoaded => loadedAt != null && loadedAt > 0; bool get isLoaded => loadedAt != null && loadedAt > 0;

View File

@ -1139,7 +1139,6 @@ class _$ClientEntity extends ClientEntity {
if (identical(other, this)) return true; if (identical(other, this)) return true;
return other is ClientEntity && return other is ClientEntity &&
groupId == other.groupId && groupId == other.groupId &&
loadedAt == other.loadedAt &&
name == other.name && name == other.name &&
displayName == other.displayName && displayName == other.displayName &&
balance == other.balance && balance == other.balance &&
@ -1210,7 +1209,7 @@ class _$ClientEntity extends ClientEntity {
$jc( $jc(
$jc( $jc(
$jc( $jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, groupId.hashCode), loadedAt.hashCode), name.hashCode), displayName.hashCode), balance.hashCode), creditBalance.hashCode), paidToDate.hashCode), clientHash.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), countryId.hashCode), phone.hashCode), privateNotes.hashCode), publicNotes.hashCode), website.hashCode), industryId.hashCode), sizeId.hashCode), vatNumber.hashCode), idNumber.hashCode), number.hashCode), shippingAddress1.hashCode), shippingAddress2.hashCode), shippingCity.hashCode), shippingState.hashCode), shippingPostalCode.hashCode), shippingCountryId.hashCode), settings.hashCode), $jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, groupId.hashCode), name.hashCode), displayName.hashCode), balance.hashCode), creditBalance.hashCode), paidToDate.hashCode), clientHash.hashCode), address1.hashCode), address2.hashCode), city.hashCode), state.hashCode), postalCode.hashCode), countryId.hashCode), phone.hashCode), privateNotes.hashCode), publicNotes.hashCode), website.hashCode), industryId.hashCode), sizeId.hashCode), vatNumber.hashCode), idNumber.hashCode), number.hashCode), shippingAddress1.hashCode), shippingAddress2.hashCode), shippingCity.hashCode), shippingState.hashCode), shippingPostalCode.hashCode), shippingCountryId.hashCode), settings.hashCode),
lastLogin.hashCode), lastLogin.hashCode),
customValue1.hashCode), customValue1.hashCode),
customValue2.hashCode), customValue2.hashCode),

View File

@ -106,6 +106,7 @@ abstract class CompanyGatewayEntity extends Object
int get hashCode; int get hashCode;
@nullable @nullable
@BuiltValueField(compare: false)
int get loadedAt; int get loadedAt;
bool get isLoaded => loadedAt != null && loadedAt > 0; bool get isLoaded => loadedAt != null && loadedAt > 0;

View File

@ -871,7 +871,6 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
bool operator ==(Object other) { bool operator ==(Object other) {
if (identical(other, this)) return true; if (identical(other, this)) return true;
return other is CompanyGatewayEntity && return other is CompanyGatewayEntity &&
loadedAt == other.loadedAt &&
gatewayId == other.gatewayId && gatewayId == other.gatewayId &&
acceptedCreditCards == other.acceptedCreditCards && acceptedCreditCards == other.acceptedCreditCards &&
requireShippingAddress == other.requireShippingAddress && requireShippingAddress == other.requireShippingAddress &&
@ -924,7 +923,7 @@ class _$CompanyGatewayEntity extends CompanyGatewayEntity {
$jc( $jc(
$jc( $jc(
$jc( $jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, loadedAt.hashCode), gatewayId.hashCode), acceptedCreditCards.hashCode), requireShippingAddress.hashCode), requireBillingAddress.hashCode), requireClientName.hashCode), requirePostalCode.hashCode), requireClientPhone.hashCode), requireContactName.hashCode), requireContactEmail.hashCode), requireCvv.hashCode), $jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, gatewayId.hashCode), acceptedCreditCards.hashCode), requireShippingAddress.hashCode), requireBillingAddress.hashCode), requireClientName.hashCode), requirePostalCode.hashCode), requireClientPhone.hashCode), requireContactName.hashCode), requireContactEmail.hashCode), requireCvv.hashCode),
updateDetails.hashCode), updateDetails.hashCode),
feesAndLimitsMap.hashCode), feesAndLimitsMap.hashCode),
systemLogs.hashCode), systemLogs.hashCode),

View File

@ -475,6 +475,7 @@ abstract class InvoiceEntity extends Object
balanceOrAmount - (taxAmount * balanceOrAmount / amount); balanceOrAmount - (taxAmount * balanceOrAmount / amount);
@nullable @nullable
@BuiltValueField(compare: false)
int get loadedAt; int get loadedAt;
List<InvoiceHistoryEntity> get history => activities List<InvoiceHistoryEntity> get history => activities

View File

@ -1763,7 +1763,6 @@ class _$InvoiceEntity extends InvoiceEntity {
invitations == other.invitations && invitations == other.invitations &&
documents == other.documents && documents == other.documents &&
activities == other.activities && activities == other.activities &&
loadedAt == other.loadedAt &&
isChanged == other.isChanged && isChanged == other.isChanged &&
createdAt == other.createdAt && createdAt == other.createdAt &&
updatedAt == other.updatedAt && updatedAt == other.updatedAt &&
@ -1796,17 +1795,17 @@ class _$InvoiceEntity extends InvoiceEntity {
$jc( $jc(
$jc( $jc(
$jc( $jc(
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), subscriptionId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), autoBill.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode), dueDateDays.hashCode), $jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), subscriptionId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), autoBill.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
invoiceId.hashCode), dueDateDays.hashCode),
recurringId.hashCode), invoiceId.hashCode),
autoBillEnabled.hashCode), recurringId.hashCode),
filename.hashCode), autoBillEnabled.hashCode),
recurringDates.hashCode), filename.hashCode),
lineItems.hashCode), recurringDates.hashCode),
invitations.hashCode), lineItems.hashCode),
documents.hashCode), invitations.hashCode),
activities.hashCode), documents.hashCode),
loadedAt.hashCode), activities.hashCode),
isChanged.hashCode), isChanged.hashCode),
createdAt.hashCode), createdAt.hashCode),
updatedAt.hashCode), updatedAt.hashCode),