diff --git a/app/Traits/GenerateMigrationResources.php b/app/Traits/GenerateMigrationResources.php index 2d6ae8ba1d..a5e12e1316 100644 --- a/app/Traits/GenerateMigrationResources.php +++ b/app/Traits/GenerateMigrationResources.php @@ -2042,6 +2042,7 @@ trait GenerateMigrationResources 'company_id' => $vendor->account_id, 'user_id' => $vendor->user_id, 'name' => $vendor->name, + 'currency_id' => $vendor->currency_id ? (string) $vendor->currency_id : (string) $this->account->currency_id, //'balance' => $vendor->balance ?: 0, //'paid_to_date' => $vendor->paid_to_date ?: 0, 'address1' => $vendor->address1, diff --git a/public/index.php b/public/index.php index 5ab6801c45..2568d6704c 100644 --- a/public/index.php +++ b/public/index.php @@ -34,7 +34,7 @@ require __DIR__.'/../bootstrap/autoload.php'; $app = require_once __DIR__.'/../bootstrap/app.php'; -// require_once __DIR__.'/../app/Constants.php'; +require_once __DIR__.'/../app/Constants.php'; /* |-------------------------------------------------------------------------- | Run The Application