Untitled
unknown
plain_text
10 months ago
1.2 kB
5
Indexable
const openInput = '<input type="checkbox" disabled ';
$table->editColumn('intercambio_aeronaves', function ($row) {
return openInput . ($row->intercambio_aeronaves ? 'checked' : null) . '>';
});
$table->editColumn('insurance', function ($row) {
return openInput . ($row->insurance ? 'checked' : null) . '>';
});
$table->editColumn('fuel', function ($row) {
return openInput . ($row->fuel ? 'checked' : null) . '>';
});
$table->editColumn('crew', function ($row) {
return openInput . ($row->crew ? 'checked' : null) . '>';
});
$table->editColumn('maintenance', function ($row) {
return openInput . ($row->maintenance ? 'checked' : null) . '>';
});
$table->editColumn('hangarage', function ($row) {
return openInput . ($row->hangarage ? 'checked' : null) . '>';
});
$table->editColumn('logistics', function ($row) {
return openInput . ($row->logistics ? 'checked' : null) . '>';
});Editor is loading...
Leave a Comment