Add the quick sales report
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]>
This commit is contained in:
@@ -89,7 +89,7 @@ trait ReportPage
|
||||
*
|
||||
* @param array<string, string> $filters
|
||||
*/
|
||||
protected function csvUrl(string $report, array $filters = []): string
|
||||
public function csvUrl(string $report, array $filters = []): string
|
||||
{
|
||||
return route('reports.csv', array_filter(['report' => $report, 'alku' => $this->from, 'loppu' => $this->to, ...$filters], fn (string $value): bool => $value !== ''));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user