@extends('operations.layout.mainlayout') @section('content') {{-- @if(session('role') != 4 && session('role') != 11)--}} {{-- {{exit("

Unauthorized access

")}}--}} {{-- @endif--}} {{-- @if(!empty($user->PROFILE_ID) && $user->PROFILE_ID != session('profile_id')) {{exit("

Unauthorized access

")}} @endif--}}

User Information

@csrf

User Information

Username
@error('username'){{ $message }}@enderror
First Name
Last Name
Password
ID ?? null))) required @endif type="password" id="password" class="form-control @error('password') is-invalid @enderror" name="password" value="" autocomplete="new-password" />
@error('password'){{ $message }}@enderror
Mobile #
Email
Signature #
Gender
@error('gender')
{{ $message }}
@enderror

User Privileges

Role
Branch
Client
Location
Incentive %
Discount Allow %
Employee Number
{{-- Practitioner identifier for NPHIES single sign-on. NPHIES matches on the national ID and rejects the SCFHS registration number, so this is the number it has to be. Without it the user cannot open a patient file in the NPHIES portal. --}}
National ID
@error('national_id') {{ $message }} @enderror
@if($units->count() > 0)
Lab Unit
@endif
Access Branch

Extra Actions

Disable Payment / Refund
@php $disablePaymentOld = old('disable_payment', !empty($user->DISABLE_PAYMENT) && (int) $user->DISABLE_PAYMENT === 1 ? '1' : ''); @endphp
Sales Target
IS_MULTI_BRANCH_LOGIN) && $user->IS_MULTI_BRANCH_LOGIN==1) checked="checked" @endif id="has-multi-branch" name="is_multi_branch">
IS_BLOCKED) && $user->IS_BLOCKED==1) checked="checked" @endif id="has-block" name="is_blocked">
ALLOW_PACKAGE_DISCOUNT) && $user->ALLOW_PACKAGE_DISCOUNT==1) checked="checked" @endif id="allow-package-discount" name="allow_package_discount">
IS_AFFILIATE) && $user->IS_AFFILIATE == 1) checked="checked" @endif id="is-affiliate" name="is_affiliate">
DISABLE_BOOKING_PRICE) && $user->DISABLE_BOOKING_PRICE==1) checked="checked" @endif id="disable-book-price" name="disable_booking_price">
SHOW_ALL_NOTIFICATION) && $user->SHOW_ALL_NOTIFICATION==1) checked="checked" @endif id="show-all-notification" name="show_all_notification">
IS_INDEPENDENT_RESERVATION) && $user->IS_INDEPENDENT_RESERVATION==1) checked="checked" @endif id="is-independent-reservation" name="is_independent_reservation">
COLLECTOR_FLAG) && $user->COLLECTOR_FLAG==1) checked="checked" @endif id="collector-flag" name="collector_flag">
@permission('mange_administration_users')
@endpermission
@endsection @section('footer-scripts') @if(session('toast_success')) @endif @if(isset($errors) && $errors->any()) @endif @endsection