Add the task calendar, holidays, workflow templates and customer removal
Task calendar (/jobs/calendar) replaces per-unit task Kanban columns (K34): a two-week Gantt of tasks per person. Bars move, resize and change person by dragging or through a keyboard dialog. Each task's estimate is booked evenly over working days into task_bookings, and what exceeds the daily maximum (jobs.daily_capacity_hours, 8 h) moves to the next working day. Tasks get planned_from/planned_to on the form. Holidays (/settings/holidays): Finnish public holidays calculated per year, which the admin can take out of use, plus company days off. Also includes the earlier uncommitted work: workflow templates with adding tasks from a template, and removing customers no module refers to. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -5,10 +5,12 @@ namespace App\Modules\Catalog\Infrastructure\Providers;
|
||||
use App\Models\User;
|
||||
use App\Modules\Catalog\Application\Contracts\CatalogQueries;
|
||||
use App\Modules\Catalog\Application\Contracts\PriceListQueries;
|
||||
use App\Modules\Catalog\Application\Contracts\WorkflowTemplateQueries;
|
||||
use App\Modules\Catalog\Domain\Contracts\ProductRepository;
|
||||
use App\Modules\Catalog\Domain\Contracts\ServiceRepository;
|
||||
use App\Modules\Catalog\Domain\Contracts\ServiceUnitRepository;
|
||||
use App\Modules\Catalog\Domain\Contracts\VatRateRepository;
|
||||
use App\Modules\Catalog\Domain\Contracts\WorkflowTemplateRepository;
|
||||
use App\Modules\Catalog\Domain\Contracts\WorkTypeRepository;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentCatalogQueries;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentPriceListQueries;
|
||||
@@ -16,6 +18,8 @@ use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentProductR
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentServiceRepository;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentServiceUnitRepository;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentVatRateRepository;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentWorkflowTemplateQueries;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentWorkflowTemplateRepository;
|
||||
use App\Modules\Catalog\Infrastructure\Persistence\Repositories\EloquentWorkTypeRepository;
|
||||
use App\Modules\Users\Domain\Enums\Role;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
@@ -40,6 +44,8 @@ class CatalogServiceProvider extends ServiceProvider
|
||||
ProductRepository::class => EloquentProductRepository::class,
|
||||
PriceListQueries::class => EloquentPriceListQueries::class,
|
||||
VatRateRepository::class => EloquentVatRateRepository::class,
|
||||
WorkflowTemplateRepository::class => EloquentWorkflowTemplateRepository::class,
|
||||
WorkflowTemplateQueries::class => EloquentWorkflowTemplateQueries::class,
|
||||
];
|
||||
|
||||
public function boot(): void
|
||||
|
||||
Reference in New Issue
Block a user