@extends('layouts.main') @section('content') @include('layouts.components.alert-prompt') @if (auth()->user()->role_id == 1)
@php $nocustomer = 1; @endphp @forelse ($customer as $data_customer) @empty

Data Kosong

@endforelse
No Nama Kode Customer No. Telepon Alamat Action
{{ $nocustomer++ }} {{ $data_customer->name }} {{ $data_customer->code_customer }} {{ $data_customer->no_tlp }} {{ $data_customer->address }}
@csrf @method('DELETE')
@else @include('pages.user.Master_Data.Customer.index') @endif @endsection