@section('content') {{-- --}}
@if ($title == 'EDC Device') @endif @if ($title == 'Billing') @elseif ($title == 'Order') @elseif ($title == 'Transaction') @elseif ($title == 'Gross Profit and Sales') @elseif ($title == 'Outlet') @else @if (Auth::user()->role != 3) @endif @endif @if($title == 'Outlet' || $title == 'EDC Device')
@php $ds = \DB::table("merchant") ->when(Auth::user()->role == 3, function ($query) { $query->where('city_id', Auth::user()->id_kota); })->get(); @endphp
Merchant
@endif @if ($title == 'Billing' || $title == 'Order' || $title == 'Transaction' || $title == 'Gross Profit and Sales')
@php $ds = \DB::table("merchant") ->when(Auth::user()->role == 3, function ($query) { $query->where('city_id', Auth::user()->id_kota); })->get(); @endphp
Merchant
@endif @foreach($tableHead as $item) @endforeach
{{$item[0]}}
@include($vForm) @include('content.ref.ref_action_global') @include($vAction) @endsection