chess/resources/views/content/ref/index.blade.php

44 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2024-08-29 03:56:32 +00:00
@section('content')
{{-- <x-other.titleHeader judul="{{$title}}" /> --}}
<div class="row mt-4">
<div class="col-md-12">
<x-card.content title="{{$title}}" subTitle="Table {{$title}}">
<x-slot name="toolbar">
@if ($bisaAdd)
<button type="button" onclick="clearForm();znModal('mForm');" class="btn btn-success mr-3">
<i class="la la-plus mr-2"></i>Tambah Data
</button>
@endif
</x-slot>
<x-slot name="content">
<div class="row">
<div class="col-md-6">
</div>
</div>
<div class="table-responsive">
<table class="table table table-sm table-hover" id="indexTable">
<thead>
<tr>
@foreach($tableHead as $item)
<th class="{{$item[1]}}" {{($item[0] == 'Act') ? "style='width:50px;'":""}}>{{$item[0]}}</th>
@endforeach
</tr>
</thead>
</table>
</div>
</x-slot>
</x-card.content>
</div>
</div>
{{-- <x-master.refScript /> --}}
@include($vForm)
@if($adaDetail)
@include($vFormDet)
@endif
@endsection
@section('script')
@include('content.ref.ref_action_global')
@include($vAction)
@endsection