1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-03 17:27:29 +01:00

Fix minore bulk impianti

This commit is contained in:
MatteoPistorello 2022-09-05 16:59:33 +02:00
parent d7b46ac3c0
commit 04dbc555c7

View File

@ -28,8 +28,8 @@ switch (post('op')) {
$exporter = new CSV($file);
// Esportazione dei record selezionati
$fatture = Impianto::whereIn('id', $id_records)->get();
$exporter->setRecords($fatture);
$impianti = Impianto::whereIn('id', $id_records)->get();
$exporter->setRecords($impianti);
$count = $exporter->exportRecords();