@extends('layout') @section('content')
@csrf
Data User
* Opsional
{{-- --}} {{-- --}}
@error('email') {{ $message }} @enderror
* Contoh Format No. Telpon 62 878 5555 7777 999
* 3 Angka dibelakang opsional, sesuaikan dengan nomor telepon yang akan diinput
* Nomor ini akan digunakan untuk notifikasi
* Jika anda ingin menggunakan nomor ini untuk notifikasi
* Gunakan Format sesuai dengan kode negara
* Contoh, 62 xxx xxxx xxxx || 65 xxxx xxxx

@error('username') {{ $message }} @enderror
@if (\Auth::user()->role == 1)
@elseif(\Auth::user()->role == 4)
Driver
{{-- @elseif(\Auth::user()->role == 20) --}} @elseif(in_array(\Auth::user()->role,[20,21]))
Member Coload
@endif @if(Auth::user()->role==1) @if (in_array(old('role'),[10,20,21,24,25,26,99]))
@else {{-- @elseif (\Auth::user()->role == 20) --}} @elseif (in_array(\Auth::user()->role,[20,21,24,25,26]))
{{@\Auth::user()->coload->nama}}
@endif {{-- admin dkk --}} @if(Auth::user()->role<=10) @if (old('role') == 99)
@else @if (old('role') == 99)
@else {{-- sales / marketing coload --}} @elseif(in_array(Auth::user()->role,[20,21,24,25,26]))
{{@\Auth::user()->nama}}
@else @endif @if (\Auth::user()->role == 1) @if (old('role') == 99)
{{-- @elseif (Auth::user()->role!=20) --}} @elseif (!in_array(Auth::user()->role,[20,21,24,25,26]))
Kembali
@endsection @section('js') @endsection