Management builds the monthly billing material (laskuaineisto) as a draft: done jobs are added as invoices of their own, combined when the customer, billing unit and reference allow it, and their billable hours are set per work type. Creating the material checks the jobs again, marks the approved hours and billable expenses billed, forms invoice lines with price and VAT snapshots and moves the jobs to "Lasku luotu". Fixed price jobs bill their quoted amount once. Billed hours keep their approval and billed expenses can no longer change. The Fennoa export and monthly fee lines come later. Co-Authored-By: Claude Opus 5.5 <[email protected]>
28 lines
1.1 KiB
PHP
28 lines
1.1 KiB
PHP
<?php
|
|
|
|
use App\Modules\Billing\Infrastructure\Providers\BillingServiceProvider;
|
|
use App\Modules\Catalog\Infrastructure\Providers\CatalogServiceProvider;
|
|
use App\Modules\Customers\Infrastructure\Providers\CustomersServiceProvider;
|
|
use App\Modules\Expenses\Infrastructure\Providers\ExpensesServiceProvider;
|
|
use App\Modules\Jobs\Infrastructure\Providers\JobsServiceProvider;
|
|
use App\Modules\Sales\Infrastructure\Providers\SalesServiceProvider;
|
|
use App\Modules\Shared\Infrastructure\Providers\SharedServiceProvider;
|
|
use App\Modules\TimeTracking\Infrastructure\Providers\TimeTrackingServiceProvider;
|
|
use App\Modules\Users\Infrastructure\Providers\UsersServiceProvider;
|
|
use App\Providers\AppServiceProvider;
|
|
|
|
return [
|
|
AppServiceProvider::class,
|
|
SharedServiceProvider::class,
|
|
UsersServiceProvider::class,
|
|
CustomersServiceProvider::class,
|
|
CatalogServiceProvider::class,
|
|
// After Customers: replaces its CustomerRowUsage binding.
|
|
JobsServiceProvider::class,
|
|
// After Jobs: replaces its TaskUsage binding.
|
|
TimeTrackingServiceProvider::class,
|
|
ExpensesServiceProvider::class,
|
|
SalesServiceProvider::class,
|
|
BillingServiceProvider::class,
|
|
];
|