@php
$ds = \DB::table("merchant")->get();
@endphp
@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
--}}