@extends('layouts/base_view') @section('title') {!! $variables['header_routes'] !!} @endsection @section('content') {!! $variables['judul'] !!} @csrf @if($variables['type'] == 'cp') @php $type = ''; if ($f_need_change_password && $f_need_change_password != '') { $type = "style=display:none"; } @endphp Password Lama @if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif Password Baru @if ($errors->has('password')) {{ $errors->first('password') }} @endif Konfirmasi Password @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif @elseif($variables['type'] == 'ema') Nama Lengkap @if ($errors->has('fullname')) {{ $errors->first('fullname') }} @endif Email @if ($errors->has('email')) {{ $errors->first('email') }} @endif Telepon @if ($errors->has('telephone')) {{ $errors->first('telephone') }} @endif @else Fullname @if ($errors->has('fullname')) {{ $errors->first('fullname') }} @endif Email @if ($errors->has('email')) {{ $errors->first('email') }} @endif Telephone @if ($errors->has('telephone')) {{ $errors->first('telephone') }} @endif Role -- Pilih Role -- @foreach($variables['roles'] as $comb) id ? 'selected' : '' }}> {{ $comb->name }} @endforeach @if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif @if(empty($data->username)) Username @if ($errors->has('username')) {{ $errors->first('username') }} @endif Password @if ($errors->has('password')) {{ $errors->first('password') }} @endif @endif Status * status ?? 'Active') == 'Active' ? 'selected' : '' }}>Aktif status ?? '') == 'Inactive' ? 'selected' : '' }}>Nonaktif @if ($errors->has('status')) {{ $errors->first('status') }} @endif Hak Akses Khusus flag_backdate_so ?? false) ? 'checked' : '' }}> Izinkan Backdate Stock Opname User dengan akses ini dapat membuat Stock Opname dengan tanggal sebelum hari ini (backdate). Akses Cabang Pilih Semua Hapus Semua 0 dari {{ count($variables['stores']) }} toko dipilih Tips: Gunakan Ctrl+Click untuk pilih multiple, Shift+Click untuk pilih range @foreach($variables['stores'] as $comb) id, old('user_stores', $variables['user_stores'] ?? []))) ? 'selected' : '' }}> {{ $comb->code }} - {{ $comb->name }} @endforeach @endif Simpan Kembali @endsection