@extends($layout) @section('content') @if (Auth::user()->hasRole('customer'))
@endif
img
@csrf

{{ $user->name }}

Updates Your Photo and Personal Details.

{{-- Cancel --}}
@csrf @method('PUT')
@if (!empty($user->ktp_photo)) KTP Photo @else

Belum ada foto KTP

@endif
@if (!empty($user->npwp_photo)) NPWP Photo @else

Belum ada foto NPWP

@endif
@if (Auth::user()->hasRole(['admin', 'karyawan'])) Cancel @else Cancel @endif
@if (Auth::user()->hasRole('customer')) @endif @if (session('success')) @push('scripts') @endpush @elseif (session('error')) @push('scripts') @endpush @endif @endsection