This commit is contained in:
meusinfirmary
2025-05-29 17:52:19 +07:00
parent 6c07cdeb08
commit 470e132ff5
10 changed files with 267 additions and 637 deletions

View File

@ -27,13 +27,14 @@
<div class="card-header">
<div class="row d-flex align-items-center">
<div class="col">
<p class="card-title text-bold mb-0">Zona (<span id="count_zones"></span>)</p>
{{-- <p class="card-title text-bold mb-0">Zona (<span id="count_zones"></span>)</p> --}}
<p class="card-title text-bold mb-0">Zona</p>
</div>
@if ($user_role === \App\Models\Users::ROLE_ADMIN || \App\Models\Users::ROLE_VENDOR)
{{-- @if ($user_role === \App\Models\Users::ROLE_VENDOR) --}}
<div class="col text-end">
{{-- <a href="#" class="btn btn-sm btn-danger" data-bs-toggle="modal" data-bs-target="#addNewZoneModal">Add New Zone</a> --}}
<a href="{{ route('view_zone_add') }}" class="btn btn-sm btn-danger">Tambah Zona</a>
<a href="{{ route('view_zone_add') }}" class="btn btn-sm btn-danger">Add New Zone</a>
</div>
@endif
<div class="col-auto text-end ps-0">
@ -48,16 +49,16 @@
<thead>
<tr class="">
<th class="">#</th>
<th class="text-center">Tindakan</th>
<th class="text-center">Action</th>
<th class="text-nowrap">Zone</th>
<th class="text-nowrap">Perusahaan</th>
<th class="text-nowrap">Tipe Zona</th>
<th class="text-nowrap">Company</th>
<th class="text-nowrap">Zone Type</th>
<th class="text-nowrap">Workflow</th>
<th class="text-nowrap">Alamat</th>
<th class="text-nowrap">Kode Pos</th>
<th class="text-nowrap">Bentuk Zona</th>
<th class="text-nowrap">Dibuat</th>
<th class="text-nowrap">Pembaharuan Terakhir</th>
<th class="text-nowrap">Address</th>
<th class="text-nowrap">Postal Code</th>
<th class="text-nowrap">Zone Shape</th>
<th class="text-nowrap">Created At</th>
<th class="text-nowrap">Last Updated</th>
<th class="text-center">Status</th>
</tr>
</thead>