sistemazione reports - cambio password - profilo utente
This commit is contained in:
@@ -10,10 +10,14 @@
|
||||
<a href="<?php echo e(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="<?php echo e(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 ?? ''];
|
||||
?>
|
||||
<a href="<?php echo e(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="<?php echo e(route('report.export', ['report' => $reportType])); ?>" class="btn btn-sm btn-success">
|
||||
<a href="<?php echo e(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