@@ -2,6 +2,9 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Services\AdministrativeGeography;
|
||||
use App\Services\FinanceBundle;
|
||||
use App\Services\ReplenishmentRun;
|
||||
use Carbon\CarbonImmutable;
|
||||
use Illuminate\Support\Facades\Date;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
@@ -15,11 +18,12 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function register(): void
|
||||
{
|
||||
$this->app->singleton(\App\Services\ReplenishmentRun::class);
|
||||
$this->app->singleton(ReplenishmentRun::class);
|
||||
$this->app->scoped(AdministrativeGeography::class);
|
||||
require_once base_path('packages/purchasing/bootstrap.php');
|
||||
$package = config('common-budget.path');
|
||||
require_once $package.'/bootstrap.php';
|
||||
\App\Services\FinanceBundle::configure();
|
||||
FinanceBundle::configure();
|
||||
$payables = config('common-payables.path');
|
||||
require_once $payables.'/bootstrap.php';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user