|
452 | 452 | ], |
453 | 453 | ]; |
454 | 454 |
|
455 | | -$operations['copy-bulk'] = [ |
456 | | - 'text' => '<span><i class="fa fa-clone"></i> '.tr('Duplica attività'), |
457 | | - 'data' => [ |
458 | | - 'title' => tr('Vuoi davvero fare una copia degli interventi selezionati?'), |
459 | | - 'msg' => '<br>{[ "type": "timestamp", "label": "'.tr('Data/ora richiesta').'", "name": "data_richiesta", "required": 0, "value": "-now-", "required":1 ]} |
460 | | - <br>{[ "type": "select", "label": "'.tr('Stato').'", "name": "idstatointervento", "required": 1, "values": "query=SELECT `in_statiintervento`.`id`, `title` as descrizione, `colore` AS _bgcolor_ FROM `in_statiintervento` LEFT JOIN `in_statiintervento_lang` ON (`in_statiintervento`.`id` = `in_statiintervento_lang`.`id_record` AND `in_statiintervento_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).') WHERE `deleted_at` IS NULL ORDER BY `title`", "value": "" ]} |
461 | | - <br>{[ "type":"checkbox", "label":"'.tr('Duplica righe').'", "name":"righe", "value":"" ]} |
462 | | - <br>{[ "type":"checkbox", "label":"'.tr('Duplica sessioni').'", "name":"sessioni", "value":"" ]} |
463 | | - <br>{[ "type":"checkbox", "label":"'.tr('Duplica impianti').'", "name":"impianti", "value":"" ]} |
464 | | - <br>{[ "type":"checkbox", "label":"'.tr('Duplica allegati').'", "name":"allegati", "value":"" ]} |
465 | | - <style>.swal2-modal{ width:600px !important; }</style>', |
466 | | - 'button' => tr('Procedi'), |
467 | | - 'class' => 'btn btn-lg btn-warning', |
468 | | - 'blank' => false, |
469 | | - ], |
470 | | -]; |
471 | | - |
472 | | -$operations['delete-bulk'] = [ |
473 | | - 'text' => '<span><i class="fa fa-trash"></i> '.tr('Elimina selezionati').'</span>', |
474 | | -]; |
475 | | - |
476 | 455 | $operations['export-bulk'] = [ |
477 | 456 | 'text' => '<span><i class="fa fa-file-archive-o"></i> '.tr('Esporta stampe'), |
478 | 457 | 'data' => [ |
|
531 | 510 | ], |
532 | 511 | ]; |
533 | 512 |
|
| 513 | +$operations['copy-bulk'] = [ |
| 514 | + 'text' => '<span><i class="fa fa-clone"></i> '.tr('Duplica'), |
| 515 | + 'data' => [ |
| 516 | + 'title' => tr('Vuoi davvero fare una copia degli interventi selezionati?'), |
| 517 | + 'msg' => '<br>{[ "type": "timestamp", "label": "'.tr('Data/ora richiesta').'", "name": "data_richiesta", "required": 0, "value": "-now-", "required":1 ]} |
| 518 | + <br>{[ "type": "select", "label": "'.tr('Stato').'", "name": "idstatointervento", "required": 1, "values": "query=SELECT `in_statiintervento`.`id`, `title` as descrizione, `colore` AS _bgcolor_ FROM `in_statiintervento` LEFT JOIN `in_statiintervento_lang` ON (`in_statiintervento`.`id` = `in_statiintervento_lang`.`id_record` AND `in_statiintervento_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).') WHERE `deleted_at` IS NULL ORDER BY `title`", "value": "" ]} |
| 519 | + <br>{[ "type":"checkbox", "label":"'.tr('Duplica righe').'", "name":"righe", "value":"" ]} |
| 520 | + <br>{[ "type":"checkbox", "label":"'.tr('Duplica sessioni').'", "name":"sessioni", "value":"" ]} |
| 521 | + <br>{[ "type":"checkbox", "label":"'.tr('Duplica impianti').'", "name":"impianti", "value":"" ]} |
| 522 | + <br>{[ "type":"checkbox", "label":"'.tr('Duplica allegati').'", "name":"allegati", "value":"" ]} |
| 523 | + <style>.swal2-modal{ width:600px !important; }</style>', |
| 524 | + 'button' => tr('Procedi'), |
| 525 | + 'class' => 'btn btn-lg btn-warning', |
| 526 | + 'blank' => false, |
| 527 | + ], |
| 528 | +]; |
| 529 | + |
| 530 | +$operations['delete-bulk'] = [ |
| 531 | + 'text' => '<span><i class="fa fa-trash"></i> '.tr('Elimina').'</span>', |
| 532 | +]; |
| 533 | + |
534 | 534 | return $operations; |
0 commit comments