taxtank-core 0.31.7 → 0.31.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/db/Models/transaction/transaction-base.mjs +1 -1
- package/esm2020/lib/interfaces/document.interface.mjs +1 -1
- package/esm2020/lib/interfaces/index.mjs +1 -2
- package/esm2020/lib/models/bank/bank.mjs +10 -1
- package/esm2020/lib/models/depreciation/depreciation.mjs +2 -2
- package/esm2020/lib/models/firm/firm.mjs +1 -1
- package/esm2020/lib/models/property/property.mjs +1 -1
- package/esm2020/lib/models/registration-invite/registration-invite.mjs +1 -1
- package/esm2020/lib/models/sole/sole-business.mjs +1 -1
- package/esm2020/lib/models/sole/sole-contact.mjs +3 -3
- package/esm2020/lib/models/transaction/transaction.mjs +1 -1
- package/esm2020/lib/models/user/user.mjs +1 -1
- package/fesm2015/taxtank-core.mjs +9 -0
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +9 -0
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/db/Models/transaction/transaction-base.d.ts +1 -2
- package/lib/interfaces/document.interface.d.ts +3 -2
- package/lib/interfaces/index.d.ts +0 -1
- package/lib/models/bank/bank.d.ts +5 -2
- package/lib/models/depreciation/depreciation.d.ts +2 -3
- package/lib/models/firm/firm.d.ts +1 -2
- package/lib/models/property/property.d.ts +1 -2
- package/lib/models/registration-invite/registration-invite.d.ts +1 -2
- package/lib/models/sole/sole-business.d.ts +1 -2
- package/lib/models/sole/sole-contact.d.ts +3 -4
- package/lib/models/transaction/transaction.d.ts +2 -2
- package/lib/models/user/user.d.ts +1 -2
- package/package.json +1 -1
- package/esm2020/lib/interfaces/fileable.interface.mjs +0 -2
- package/lib/interfaces/fileable.interface.d.ts +0 -8
|
@@ -1403,6 +1403,15 @@ class Bank extends Bank$1 {
|
|
|
1403
1403
|
isBasiq() {
|
|
1404
1404
|
return this.provider !== BankProviderEnum.MANUAL;
|
|
1405
1405
|
}
|
|
1406
|
+
/**
|
|
1407
|
+
* some images come from basiq (starting http), the rest from assets
|
|
1408
|
+
*/
|
|
1409
|
+
getPhoto() {
|
|
1410
|
+
if (!this.logo) {
|
|
1411
|
+
return null;
|
|
1412
|
+
}
|
|
1413
|
+
return this.logo.includes('http') ? `${this.logo}` : `${localStorage.getItem('api_uri')}${this.logo}`;
|
|
1414
|
+
}
|
|
1406
1415
|
}
|
|
1407
1416
|
__decorate([
|
|
1408
1417
|
Transform(({ value }) => value ? value.replace(' ', '%20') : null)
|