function showFormMassiveAction(MassiveAction $ma) { $pbConfig = new PluginBarcodeConfig(); echo '<center>'; echo '<strong>'; echo __('It will generate only elements have defined field:', 'barcode') . ' '; if (key($ma->items) == 'Ticket') { echo __('Ticket number', 'barcode'); } else { echo __('Inventory number'); } echo '</strong>'; echo '<table>'; echo '<tr>'; echo '<td>'; $config = $pbConfig->getConfigType(); echo __('Type', 'barcode') . " : </td><td>"; $pbConfig->showTypeSelect($config['type'], array('QRcode' => 'QRcode')); echo '</td>'; echo '</tr>'; echo '</table>'; echo '<br/>'; PluginBarcodeBarcode::commonShowMassiveAction(); }
function showFormMassiveAction() { $pbConfig = new PluginBarcodeConfig(); echo '<center>'; echo '<table>'; echo '<tr>'; echo '<td>'; $config = $pbConfig->getConfigType(); echo __('Type', 'barcode') . " : </td><td>"; $pbConfig->showTypeSelect($config['type']); echo '</td>'; echo '</tr>'; echo '</table>'; echo '<br/>'; PluginBarcodeBarcode::commonShowMassiveAction(); }