sistemazione reports - cambio password - profilo utente
This commit is contained in:
@@ -11,10 +11,14 @@
|
||||
<a href="{{ route('report.index') }}" class="btn btn-sm btn-secondary mr-2">
|
||||
<i class="fas fa-arrow-left mr-1"></i> Torna ai Report
|
||||
</a>
|
||||
<a href="{{ route('report.print-preview', ['report' => $reportType, 'custom_id' => $customReport->id ?? null]) }}" class="btn btn-sm btn-info mr-2" target="_blank">
|
||||
@php
|
||||
$printParams = isset($report) ? ['custom_id' => $report->id] : ['report' => $reportType ?? ''];
|
||||
$exportParams = isset($report) ? ['custom_id' => $report->id] : ['report' => $reportType ?? ''];
|
||||
@endphp
|
||||
<a href="{{ route('report.print-preview', $printParams) }}" class="btn btn-sm btn-info mr-2" target="_blank">
|
||||
<i class="fas fa-print mr-1"></i> Stampa Report
|
||||
</a>
|
||||
<a href="{{ route('report.export', ['report' => $reportType]) }}" class="btn btn-sm btn-success">
|
||||
<a href="{{ route('report.export', $exportParams) }}" class="btn btn-sm btn-success">
|
||||
<i class="fas fa-file-csv mr-1"></i> Esporta CSV
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user