protected $_operations = [ShowOperation::class, AssignOperation::class, CreateFromWebsite::class, ConfirmAssignmentOperation::class];
protected $_enableClone = false;
protected $_enableCreation = false;
-
+ protected $_enableBulk = false;
public static function addOwnerClause(Builder $builder)
{
4 => __('Déjà client'),
], 'column' => true, 'filter' => true]);
+ $this->addField('notes', 'Textarea', __('Notes'));
+
$this->addField('origin_column', FluidbookQuoteOrigin::class, __('Origine'), ['column' => true, 'filter' => true]);
$this->addField('fluidbooks', 'ModelAttribute', __('Fluidbooks'), ['column' => true, 'column_label' => '<img width="20" src="/images/icons/icon-fluidbook.svg">', 'attribute' => 'user.e1_ws_count']);
}
'singular' => 'quiz',
'plural' => 'quizzes'];
+ protected $_enableBulk = false;
protected static function _getColors()
{
'label' => __('Propriétaire'),
'type' => User::class,
'column' => true,
- 'can' => 'toolbox:quiz:edit_ownership',
- 'attribute' => 'companyWithNameOnTwoLines',
+ 'can' => 'quiz:admin',
+ 'column_attribute' => 'companyWithNameOnTwoLines',
+ 'attribute' => 'companyWithName',
'tab' => __('Projet')]);
$this->addField(['name' => 'title',
class Signature extends CubistMagicAbstractModel
{
+ protected $_enableBulk = false;
+
protected $table = 'signature';
protected $_options = ['name' => 'signature',
// - 1 - as important as bulk buttons
// - 2-3 - more important than the rest of the columns
// - 4 - less important than most columns
- 'actionsColumnPriority' => 1,
+ 'actionsColumnPriority' => 0,
],
/*
}
}
+ &.dtr-inline.collapsed {
+ td.dtr-control, th.dtr-control {
+ padding-left: 30px !important;
+ }
+ }
+
td {
- padding: 0.4em 0.5em 0.4em 0.3em;
+ line-height: 1.1em;
+ padding: 0.4em 0.5em;
}
th {
- padding-left: 0.3em;
+ padding-left: 0.5em;
}
th, td {
- &:first-child, &:nth-child(2), &:nth-child(3), &:last-child {
+ &:first-child, &:last-child {
width: 1px;
}
}
<!-- DATA TABLES SCRIPT -->
+<script src="https://unpkg.com/@popperjs/core@2"></script>
+<script src="https://unpkg.com/tippy.js@6"></script>
<script type="text/javascript" src="{{ asset('packages/datatables.net/js/jquery.dataTables.min.js') }}"></script>
<script type="text/javascript"
src="{{ asset('packages/datatables.net-bs4/js/dataTables.bootstrap4.min.js') }}"></script>
if (crud.table.responsive.hasHidden()) {
$("#crudTable").addClass('has-hidden-columns');
crud.table.responsive.recalc();
+
+ $("#crudTable .btn-link").each(function () {
+ tippy(this, {
+ content: $(this).contents()
+ .filter(function () {
+ return this.nodeType === 3; //Node.TEXT_NODE
+ }).text(),
+ })
+ });
}
});
@else