Quick sales of a period by cash day, product, seller and VAT rate, with credits, open cash days flagged, a chart by day or month and CSV. VAT is taken out of each day's total of a rate, as on the cash day balance. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
15 lines
582 B
PHP
15 lines
582 B
PHP
<?php
|
|
|
|
use App\Modules\Reports\Presentation\Http\Controllers\DownloadReport;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::middleware(['web', 'auth', 'can:reports.view'])
|
|
->prefix('reports')
|
|
->name('reports.')
|
|
->group(function () {
|
|
Route::livewire('/hours', 'reports::hours')->name('hours');
|
|
Route::livewire('/unbilled', 'reports::unbilled')->name('unbilled');
|
|
Route::livewire('/sales', 'reports::sales')->name('sales');
|
|
Route::get('/{report}/csv', DownloadReport::class)->whereIn('report', DownloadReport::REPORTS)->name('csv');
|
|
});
|