- New Expenses module: purchases (materials, other) with a description and cost, and mileage priced with the price list's mileage rate. - Who paid and whether the expense is billed are separate: an employee's own payments are reimbursed elsewhere. A billed expense has a markup and a billed amount, cost plus markup unless given. - A job's expenses page lists, adds, edits and removes them; amounts of others' expenses need the expenses permission, own ones always show. Done jobs lock their expenses. - The Kulut menu shows the user's own expenses by month. Management records subcontractors' expenses, which they see but cannot change. - The price list gets a default markup for new purchases. - Number fields that update a calculation now use wire:model.live.blur: in Livewire 4 plain .blur no longer sends the value to the server, which also fixes the product form's VAT calculation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
24 lines
965 B
PHP
24 lines
965 B
PHP
<?php
|
|
|
|
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\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,
|
|
];
|