mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 03:54:36 -04:00
Minor fixes for transactions
This commit is contained in:
parent
8fd2254115
commit
f7ce4352ba
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
|||||||
/public/react
|
/public/react
|
||||||
/storage/*.key
|
/storage/*.key
|
||||||
/storage/debugbar
|
/storage/debugbar
|
||||||
|
/storage/*
|
||||||
/vendor
|
/vendor
|
||||||
/.idea
|
/.idea
|
||||||
/.vscode
|
/.vscode
|
||||||
|
@ -89,7 +89,7 @@ class AccountTransformer implements AccountTransformerInterface
|
|||||||
'account_type' => $account->CONTAINER,
|
'account_type' => $account->CONTAINER,
|
||||||
'account_name' => $account->accountName,
|
'account_name' => $account->accountName,
|
||||||
'account_status' => $account->accountStatus,
|
'account_status' => $account->accountStatus,
|
||||||
'account_number' => '**** ' . substr($account->accountNumber, -7),
|
'account_number' => property_exists($account, 'accountNumber') ? '**** ' . substr($account?->accountNumber, -7) : '',
|
||||||
'provider_account_id' => $account->providerAccountId,
|
'provider_account_id' => $account->providerAccountId,
|
||||||
'provider_id' => $account->providerId,
|
'provider_id' => $account->providerId,
|
||||||
'provider_name' => $account->providerName,
|
'provider_name' => $account->providerName,
|
||||||
|
@ -94,7 +94,7 @@ class InvoiceTransformer extends BaseTransformer
|
|||||||
'invoice.custom_value4'
|
'invoice.custom_value4'
|
||||||
),
|
),
|
||||||
'footer' => $this->getString($invoice_data, 'invoice.footer'),
|
'footer' => $this->getString($invoice_data, 'invoice.footer'),
|
||||||
'partial' => $this->getFloat($invoice_data, 'invoice.partial'),
|
'partial' => $this->getFloat($invoice_data, 'invoice.partial') > 0 ?: null,
|
||||||
'partial_due_date' => $this->getString(
|
'partial_due_date' => $this->getString(
|
||||||
$invoice_data,
|
$invoice_data,
|
||||||
'invoice.partial_due_date'
|
'invoice.partial_due_date'
|
||||||
|
0
storage/app/.gitignore
vendored
Normal file → Executable file
0
storage/app/.gitignore
vendored
Normal file → Executable file
0
storage/app/public/.gitignore
vendored
Normal file → Executable file
0
storage/app/public/.gitignore
vendored
Normal file → Executable file
0
storage/framework/.gitignore
vendored
Normal file → Executable file
0
storage/framework/.gitignore
vendored
Normal file → Executable file
0
storage/framework/cache/.gitignore
vendored
Normal file → Executable file
0
storage/framework/cache/.gitignore
vendored
Normal file → Executable file
0
storage/framework/sessions/.gitignore
vendored
Normal file → Executable file
0
storage/framework/sessions/.gitignore
vendored
Normal file → Executable file
0
storage/framework/testing/.gitignore
vendored
Normal file → Executable file
0
storage/framework/testing/.gitignore
vendored
Normal file → Executable file
0
storage/framework/views/.gitignore
vendored
Normal file → Executable file
0
storage/framework/views/.gitignore
vendored
Normal file → Executable file
0
storage/logs/.gitignore
vendored
Normal file → Executable file
0
storage/logs/.gitignore
vendored
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user