Przeglądaj źródła

fix(report): usa route nominata per cambio tab

Co-authored-by: Cursor <cursoragent@cursor.com>
marcofalabretti 2 tygodni temu
rodzic
commit
23917c24a2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      resources/views/report/index.blade.php

+ 1
- 1
resources/views/report/index.blade.php Wyświetl plik

@@ -585,7 +585,7 @@
585 585
     var resetRangeButton = document.getElementById('btn-reset-range');
586 586
     var downloadPdfButton = document.getElementById('btn-download-report-pdf');
587 587
     var exportRoute = @json(route('report.export-pdf'));
588
-    var tabRouteTemplate = @json(url('report/tab/__TAB__'));
588
+    var tabRouteTemplate = @json(route('report.tab', ['tab' => '__TAB__']));
589 589
     var reportTypeByPanel = {
590 590
       'report-movimenti-panel': 'movimenti',
591 591
       'report-incassi-panel': 'incassi',

Ładowanie…
Anuluj
Zapisz