mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +01:00
Updates for vendor transformer
This commit is contained in:
parent
dbb53e4a86
commit
b20a3bfc88
@ -2042,6 +2042,7 @@ trait GenerateMigrationResources
|
|||||||
'company_id' => $vendor->account_id,
|
'company_id' => $vendor->account_id,
|
||||||
'user_id' => $vendor->user_id,
|
'user_id' => $vendor->user_id,
|
||||||
'name' => $vendor->name,
|
'name' => $vendor->name,
|
||||||
|
'currency_id' => $vendor->currency_id ? (string) $vendor->currency_id : (string) $this->account->currency_id,
|
||||||
//'balance' => $vendor->balance ?: 0,
|
//'balance' => $vendor->balance ?: 0,
|
||||||
//'paid_to_date' => $vendor->paid_to_date ?: 0,
|
//'paid_to_date' => $vendor->paid_to_date ?: 0,
|
||||||
'address1' => $vendor->address1,
|
'address1' => $vendor->address1,
|
||||||
|
@ -34,7 +34,7 @@ require __DIR__.'/../bootstrap/autoload.php';
|
|||||||
|
|
||||||
$app = require_once __DIR__.'/../bootstrap/app.php';
|
$app = require_once __DIR__.'/../bootstrap/app.php';
|
||||||
|
|
||||||
// require_once __DIR__.'/../app/Constants.php';
|
require_once __DIR__.'/../app/Constants.php';
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Run The Application
|
| Run The Application
|
||||||
|
Loading…
Reference in New Issue
Block a user