{{-- --}}
@php $ds = \DB::table("merchant")->get(); @endphp
Merchant
@php $ref = \DB::table('reff_city') ->when(Auth::user()->role == 3, function ($query) { $query->where('city_id', Auth::user()->id_kota); })->get(); @endphp @foreach($ref as $item) @endforeach
@php $ref = \DB::table('reff_outlet_type')->get(); @endphp @foreach($ref as $item) @endforeach
{{--
@php $ref_bank = DB::table('reff_bank')->where('is_active',true)->orderBy('seq')->get(); @endphp
EDC Bank
@foreach ($ref_bank as $v) @endforeach
{{$v->bank_name}} {{$v->bank_code}}
--}}
{{-- --}}
@php $ref = \DB::table('reff_brand')->get(); @endphp @foreach($ref as $item) @endforeach

Device ID Serial Number IMEI Brand Model Terminal ID Act