@extends('layouts.master') @section('css') @endsection @section('title') Staffs @endsection @section('content')
@isset($staff) Edit Staff @else Add Staff @endisset
@isset($staff)
@method('put') @else @endisset @csrf
all_ledgers == 1 ? 'checked' : '') : '' }}>
enable_pos == 1 ? 'checked' : '') : '' }}>
user->sale_executive_price_change == 1 ? 'checked' : '') : '' }}>
@if ($company_profile->mybuss_fas == 1 || $company_profile->mop_fas == 1)
@isset($staff) @php $staffRoutes = $staff->routes->pluck('route_id')->toArray(); @endphp @endisset
@isset($staff) @php $staffGroups = $staff->groups->pluck('stock_group_id')->toArray(); @endphp @endisset
user->allow_customer_creation == 1 ? 'checked' : '') : '' }}>
user->is_sales_executive == 1 ? 'checked' : '') : '' }}>
user->is_packing_executive == 1 ? 'checked' : '') : '' }}>
user->is_delivery_boy == 1 ? 'checked' : '') : '' }}>
user->is_direct_delivery == 1 ? 'checked' : '') : '' }}>
user->is_production_executive == 1 ? 'checked' : '') : '' }}>
user->is_production_manager == 1 ? 'checked' : '') : '' }}>
user->is_loading_staff == 1 ? 'checked' : '') : '' }}>
user->is_attendance_manager == 1 ? 'checked' : '') : '' }}>
@endif
@endsection @section('script') @endsection