Esempio n. 1
0
    public function __construct($id)
    {
        parent::__construct($id);
        $this->view = 'achizitii::nomenclator.template_achizitii.index';
        $this->icon = 'admin/img/icons/dt/settings.png';
        $this->caption = 'Template achiziții';
        $this->toolbar = 'achizitii::nomenclator.template_achizitii.toolbar';
        $this->name = 'dt';
        $this->display_start = 0;
        $this->display_length = 10;
        $this->default_order = "1,'asc'";
        $this->form = 'Binaryk\\Achizitii\\Form\\TemplateAchizitiiForm';
        $this->css = 'packages/binaryk/achizitii/admin/css/dt/dt.css, packages/binaryk/achizitii/admin/css/dt/toolbar.css, packages/binaryk/achizitii/admin/css/dt/dtform.css';
        $this->js = 'packages/binaryk/achizitii/admin/js/libraries/form/dtform.js, 
								 packages/binaryk/achizitii/admin/js/libraries/form/combobox.js, 
								 packages/binaryk/achizitii/assets/js/template-achizitii/table.js,
								 packages/binaryk/achizitii/assets/js/template-achizitii/template_achizitii.js';
        $this->row_source = 'nomenclator-template-achizitii-row-source';
        $this->rows_source_sql = "\n\t\t\tSELECT\n\t\t\t\tach_template_achizitii.*,\n\t\t\t\tach_tip_anunturi.nume as tip_anunt_nume\n\t\t\tFROM ach_template_achizitii \n\t\t\tLEFT JOIN ach_tip_anunturi ON ach_template_achizitii.tip_anunt = ach_tip_anunturi.id\n\t\t\t:where:\n\t\t\t:order:\n\t\t";
        $this->count_filtered_records_sql = 'SELECT COUNT(*) as cnt FROM ach_template_achizitii :where:';
        $this->count_total_records_sql = 'SELECT COUNT(*) AS cnt FROM ach_template_achizitii';
        $this->columns = ['1' => ['id' => '#', 'orderable' => 'no', 'class' => 'td-record-count td-align-left', 'visible' => 'yes', 'header' => ['caption' => '#', 'style' => 'width:5%'], 'type' => 'row-number', 'source' => 'row-number'], '2' => ['id' => 'nume', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Titlu template', 'style' => 'width:50%'], 'type' => 'field', 'source' => 'nume'], '3' => ['id' => 'tip-anunt', 'orderable' => 'no', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Tip anunt', 'style' => 'width:25%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.template_achizitii.tip_anunt'], '4' => ['id' => 'dosar-achizitii', 'orderable' => 'no', 'class' => 'td-align-center', 'visible' => 'yes', 'header' => ['caption' => 'Dosar achiziții', 'style' => 'width:15%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.template_achizitii.dosar_achizitii'], '5' => ['id' => 'action', 'orderable' => 'no', 'class' => 'td-align-center td-actions', 'visible' => 'yes', 'header' => ['caption' => 'Acţiuni', 'style' => 'width:5%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.general_actions.actions']];
        $this->fields = ['fields' => '', 'searchables' => 'id, nume', 'orderables' => [1 => 'nume']];
        $this->filters = ['deleted' => 'ach_template_achizitii.deleted_at is null'];
    }
 public function __construct($id)
 {
     parent::__construct($id);
     $this->view = 'achizitii::~layouts.datatable.index';
     $this->icon = 'admin/img/icons/dt/settings.png';
     $this->caption = 'Modalități publicare';
     $this->toolbar = 'achizitii::nomenclator.modalitati_publicare.toolbar';
     $this->name = 'dt';
     $this->display_start = 0;
     $this->display_length = 10;
     $this->default_order = "1,'asc'";
     $this->form = 'Binaryk\\Achizitii\\Form\\ModalitatiPublicare';
     $this->css = 'packages/binaryk/achizitii/admin/css/dt/dt.css, packages/binaryk/achizitii/admin/css/dt/toolbar.css, packages/binaryk/achizitii/admin/css/dt/dtform.css';
     $this->js = 'packages/binaryk/achizitii/admin/js/libraries/form/dtform.js';
     $this->row_source = 'nomenclator-modalitati-publicare-row-source';
     $this->rows_source_sql = 'SELECT * FROM ach_modalitati_publicare :where: :order:';
     $this->count_filtered_records_sql = 'SELECT COUNT(*) as cnt FROM ach_modalitati_publicare :where:';
     $this->count_total_records_sql = 'SELECT COUNT(*) AS cnt FROM ach_modalitati_publicare';
     $this->columns = ['1' => ['id' => '#', 'orderable' => 'no', 'class' => 'td-record-count td-align-left', 'visible' => 'yes', 'header' => ['caption' => '#', 'style' => 'width:5%'], 'type' => 'row-number', 'source' => 'row-number'], '2' => ['id' => 'denumire', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Denumire', 'style' => 'width:40%'], 'type' => 'field', 'source' => 'nume'], '3' => ['id' => 'anterior', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Anunt intenție publicat anterior', 'style' => 'width:15%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.modalitati_publicare.anterior'], '4' => ['id' => 'complexitate', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Tip complexitate', 'style' => 'width:15%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.modalitati_publicare.complexitate'], '5' => ['id' => 'zile', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Zile D-P', 'style' => 'width:15%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.modalitati_publicare.zile'], '6' => ['id' => 'action', 'orderable' => 'no', 'class' => 'td-align-center td-actions', 'visible' => 'yes', 'header' => ['caption' => 'Acţiuni', 'style' => 'width:5%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.modalitati_publicare.actions']];
     $this->fields = ['fields' => '', 'searchables' => 'id, nume', 'orderables' => [1 => 'nume']];
     $this->filters = ['deleted' => 'deleted_at is null'];
 }
 public function __construct($id)
 {
     parent::__construct($id);
     $this->view = 'achizitii::nomenclator.modalitati_publicare.proc_achizitii.index';
     $this->icon = 'admin/img/icons/dt/settings.png';
     $this->caption = 'Tip proceduri achiziții';
     $this->toolbar = 'achizitii::nomenclator.modalitati_publicare.proc_achizitii.toolbar';
     $this->name = 'dt';
     $this->display_start = 0;
     $this->display_length = 10;
     $this->default_order = "1,'asc'";
     $this->form = 'Binaryk\\Achizitii\\Form\\TipProceduriAchizitiiForm';
     $this->css = 'packages/binaryk/achizitii/admin/css/dt/dt.css, packages/binaryk/achizitii/admin/css/dt/toolbar.css, packages/binaryk/achizitii/admin/css/dt/dtform.css';
     $this->js = 'packages/binaryk/achizitii/admin/js/libraries/form/dtform.js,packages/binaryk/achizitii/assets/js/metode_publicare/MetodePublicare.js';
     $this->row_source = 'datatable-row-source';
     $this->rows_source_sql = 'SELECT * FROM ach_tip_proceduri_achizitii :where: :order:';
     $this->count_filtered_records_sql = 'SELECT COUNT(*) as cnt FROM ach_tip_proceduri_achizitii :where:';
     $this->count_total_records_sql = 'SELECT COUNT(*) AS cnt FROM ach_tip_proceduri_achizitii';
     $this->columns = ['1' => ['id' => '#', 'orderable' => 'no', 'class' => 'td-record-count td-align-center', 'visible' => 'yes', 'header' => ['caption' => '#', 'style' => 'width:5%'], 'type' => 'row-number', 'source' => 'row-number'], '2' => ['id' => 'denumire', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Denumire procedură de achiziție', 'style' => 'width:60%'], 'type' => 'field', 'source' => 'nume'], '3' => ['id' => 'achizitor', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Tip achizitor', 'style' => 'width:30%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.modalitati_publicare.proc_achizitii.achizitor'], '4' => ['id' => 'action', 'orderable' => 'no', 'class' => 'td-align-center td-actions', 'visible' => 'yes', 'header' => ['caption' => 'Acţiuni', 'style' => 'width:5%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.modalitati_publicare.proc_achizitii.actions']];
     $this->fields = ['fields' => '', 'searchables' => 'id, nume', 'orderables' => [1 => 'nume']];
     $this->filters = ['deleted' => 'deleted_at is null'];
 }
Esempio n. 4
0
 public function __construct($id)
 {
     parent::__construct($id);
     $this->view = 'achizitii::nomenclator.proiecte.index';
     $this->icon = 'admin/img/icons/dt/settings.png';
     $this->caption = 'Proiecte';
     $this->toolbar = 'achizitii::nomenclator.proiecte.toolbar';
     $this->name = 'dt';
     $this->display_start = 0;
     $this->display_length = 10;
     $this->default_order = "1,'asc'";
     $this->form = 'Binaryk\\Achizitii\\Form\\ProiecteForm';
     $this->css = 'packages/binaryk/achizitii/admin/css/dt/dt.css, packages/binaryk/achizitii/admin/css/dt/toolbar.css, packages/binaryk/achizitii/admin/css/dt/dtform.css';
     $this->js = 'packages/binaryk/achizitii/admin/js/libraries/form/dtform.js';
     $this->row_source = 'proiecte-row-source';
     $this->rows_source_sql = "\n\t\t\tSELECT \n\t\t\t\tach_proiecte.* \n\t\t\tFROM ach_proiecte \n\t\t\t:where: \n\t\t\t:order:\n\t\t";
     $this->count_filtered_records_sql = "\n\t\t\tSELECT \n\t\t\t\tCOUNT(*) as cnt \n\t\t\tFROM ach_proiecte\n\t\t\t:where:\n\t\t";
     $this->count_total_records_sql = "\n\t\t\tSELECT \n\t\t\t\tCOUNT(*) AS cnt \n\t\t\tFROM ach_proiecte\n\t\t";
     $this->columns = ['1' => ['id' => '#', 'orderable' => 'no', 'class' => 'td-record-count td-align-left', 'visible' => 'yes', 'header' => ['caption' => '#', 'style' => 'width:5%'], 'type' => 'row-number', 'source' => 'row-number'], '2' => ['id' => 'go-to-achizitii', 'orderable' => 'no', 'class' => 'td-align-center', 'visible' => 'yes', 'header' => ['caption' => 'Achizitii', 'style' => 'width:10%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.proiecte.go-to-achizitii'], '3' => ['id' => 'denumire', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Titlu proiect', 'style' => 'width:60%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.proiecte.titlu'], '4' => ['id' => 'tip-achizitor', 'orderable' => 'yes', 'class' => 'td-align-left', 'visible' => 'yes', 'header' => ['caption' => 'Tip achizitor', 'style' => 'width:20%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.proiecte.tip-achizitor'], '5' => ['id' => 'action', 'orderable' => 'no', 'class' => 'td-align-center td-actions', 'visible' => 'yes', 'header' => ['caption' => 'Acţiuni', 'style' => 'width:5%'], 'type' => 'view', 'source' => 'achizitii::nomenclator.proiecte.actions']];
     $this->fields = ['fields' => '', 'searchables' => 'titlu,tip_achizitor', 'orderables' => [1 => 'titlu', 2 => 'tip_achizitor']];
     $this->filters = [];
 }