@extends('layouts.site') @section('title', 'Organizacje App') @php $idPrefix = 'a000_organizacje_app'; $columns = [ [ 'key' => 'id', 'label' => 'ID', 'field' => 'id', 'sort' => 'id', 'search_field' => 'id', 'align' => 'center', 'width' => '6rem', 'checked' => true, ], [ 'key' => 'ids', 'label' => 'IDS', 'field' => 'ids', 'sort' => 'ids', 'search_field' => 'ids', 'align' => 'left', 'width' => '10rem', 'checked' => true, ], [ 'key' => 'nazwa_pelna', 'label' => 'Nazwa pelna', 'field' => 'nazwa_pelna', 'sort' => 'nazwa_pelna', 'search_field' => 'nazwa_pelna', 'align' => 'left', 'checked' => true, ], [ 'key' => 'nazwa_skrot', 'label' => 'Nazwa skrot', 'field' => 'nazwa_skrot', 'sort' => 'nazwa_skrot', 'search_field' => 'nazwa_skrot', 'align' => 'left', 'checked' => true, ], [ 'key' => 'miejscowosc', 'label' => 'Miejscowosc', 'field' => 'miejscowosc', 'sort' => 'miejscowosc', 'search_field' => 'miejscowosc', 'align' => 'left', 'checked' => true, ], [ 'key' => 'instancja_aktywna_icon', 'label' => 'Instancja aktywna', 'field' => 'instancja_aktywna_icon', 'sort' => 'instancja_aktywna', 'search_field' => '', 'align' => 'center', 'width' => '8rem', 'checked' => true, 'raw_html' => true, ], [ 'key' => 'pro_bono_icon', 'label' => 'Pro bono', 'field' => 'pro_bono_icon', 'sort' => 'pro_bono', 'search_field' => '', 'align' => 'center', 'width' => '7rem', 'checked' => true, 'raw_html' => true, ], [ 'key' => 'updated_at', 'label' => 'Modyfikacja', 'field' => 'updated_at', 'sort' => 'updated_at', 'search_field' => '', 'align' => 'center', 'width' => '13rem', 'checked' => true, ], ]; $routes = [ 'list' => route('m_admin_organizacje_app_list'), 'store' => route('m_admin_organizacje_app_store'), 'update' => route('m_admin_organizacje_app_update', ['id' => '__ID__']), 'del' => route('m_admin_organizacje_app_delete', ['id' => '__ID__']), ]; $filters = [ [ 'key' => 'filter_instancja_aktywna', 'id' => $idPrefix . '_filter_instancja_aktywna', 'type' => 'select', 'label' => 'Instancja', 'placeholder' => '-- wszystkie --', 'options' => [ '1' => 'Aktywna', '0' => 'Nieaktywna', ], 'value' => '', ], [ 'key' => 'filter_pro_bono', 'id' => $idPrefix . '_filter_pro_bono', 'type' => 'select', 'label' => 'Pro bono', 'placeholder' => '-- wszystkie --', 'options' => [ '1' => 'Pro bono', '0' => 'Standard', ], 'value' => '', ], [ 'key' => 'filter_nieaktualny', 'id' => $idPrefix . '_filter_nieaktualny', 'type' => 'select', 'label' => 'Nieaktualny', 'placeholder' => '-- wszystkie --', 'options' => [ '0' => 'Nie', '1' => 'Tak', ], 'value' => '', ], ]; $modalAddId = 'ModalForm_' . $idPrefix . '_add'; $modalEditId = 'ModalForm_' . $idPrefix . '_edit'; $modalInfoId = 'ModalForm_' . $idPrefix . '_info'; $modalDeleteId = 'ModalForm_' . $idPrefix . '_delete'; $addFormId = $idPrefix . '-form-add'; $editFormId = $idPrefix . '-form-edit'; $deleteFormId = $idPrefix . '-form-delete'; $modals = [ 'add' => [ 'modal_selector' => '#' . $modalAddId, 'form_selector' => '#' . $addFormId, 'reset_fields' => [ '#' . $idPrefix . '-add-ids', '#' . $idPrefix . '-add-nazwa_pelna', '#' . $idPrefix . '-add-nazwa_skrot', '#' . $idPrefix . '-add-adres', '#' . $idPrefix . '-add-kod', '#' . $idPrefix . '-add-miejscowosc', '#' . $idPrefix . '-add-logo', ], ], 'edit' => [ 'modal_selector' => '#' . $modalEditId, 'form_selector' => '#' . $editFormId, 'id_selector' => '#' . $idPrefix . '_edit_id', 'fields' => [ '#' . $idPrefix . '-edit-ids' => 'ids', '#' . $idPrefix . '-edit-nazwa_pelna' => 'nazwa_pelna', '#' . $idPrefix . '-edit-nazwa_skrot' => 'nazwa_skrot', '#' . $idPrefix . '-edit-adres' => 'adres', '#' . $idPrefix . '-edit-kod' => 'kod', '#' . $idPrefix . '-edit-miejscowosc' => 'miejscowosc', '#' . $idPrefix . '-edit-logo' => 'logo', '#' . $idPrefix . '-edit-instancja_aktywna' => 'instancja_aktywna', '#' . $idPrefix . '-edit-pro_bono' => 'pro_bono', ], ], 'info' => [ 'modal_selector' => '#' . $modalInfoId, 'fields' => [ '#' . $idPrefix . '_info_id' => 'id', '#' . $idPrefix . '_info_ids' => 'ids', '#' . $idPrefix . '_info_nazwa_pelna' => 'nazwa_pelna', '#' . $idPrefix . '_info_nazwa_skrot' => 'nazwa_skrot', '#' . $idPrefix . '_info_adres' => 'adres', '#' . $idPrefix . '_info_kod' => 'kod', '#' . $idPrefix . '_info_miejscowosc' => 'miejscowosc', '#' . $idPrefix . '_info_logo' => 'logo', '#' . $idPrefix . '_info_instancja_aktywna' => 'instancja_aktywna_label', '#' . $idPrefix . '_info_pro_bono' => 'pro_bono_label', '#' . $idPrefix . '_info_nieaktualny' => 'nieaktualny_label', '#' . $idPrefix . '_info_updated_at' => 'updated_at', ], ], 'delete' => [ 'modal_selector' => '#' . $modalDeleteId, 'form_selector' => '#' . $deleteFormId, 'id_selector' => 'input[name="rekord_id"]', 'id_view_selector' => 'input[name="rekord_id_view"]', ], ]; @endphp @section('content') @endsection @section('navbar') @include('sites.admin._navbar_m_admin_site') Organizacje App @endsection @section('menu') @include('sites.admin.menu_admin') @endsection @section('modal_windows') IDS Nazwa pelna Nazwa skrot Adres Kod Miejscowosc Logo Instancja aktywna Tak Nie Pro bono Nie Tak IDS Nazwa pelna Nazwa skrot Adres Kod Miejscowosc Logo Instancja aktywna Tak Nie Pro bono Nie Tak ID IDS Nazwa pelna Nazwa skrot Adres Kod Miejscowosc Logo Instancja aktywna Pro bono Nieaktualny Modyfikacja ID: Czy na pewno chcesz usunac ten rekord? @endsection
Czy na pewno chcesz usunac ten rekord?