@extends('admin::layouts.app') @section('content') @method('PUT') {{ __('admin.my_workshop') }} {{ __('admin.edit_workshop') }} {{ __('admin.submit') }} {{ __('static.cancel') }} {{ __('admin.enter_the_details_below_for_create_edit_workshop') }} @if (auth()->user()->hasRole([app\helpers\ConstantHelper::INDIVIDUAL_USER])) {{-- --}} @endif {{ __('admin.workshop_name_in_english') }} * {{ __('admin.workshop_name_in_arabic') }} * {{ __('admin.slot_in_min') }} * {{-- {{ __('admin.seat') }} * --}} @if (auth()->user()->hasRole([app\helpers\ConstantHelper::BUSINESS_USER])) {{ __('admin.select_workshop_admin') }} {{ __('admin.select_branch_admin') }} @forelse($branchAdmins as $branchAdmin) id ==$workshop->admin_id ? 'selected' : '' }}> {{ $branchAdmin->name }} @empty @endforelse {{ __('admin.select_staff') }} * @forelse($staffs as $staff) id, $staffIds) ? 'selected' : '' }}> {{ $staff->name }} @empty @endforelse @endif {{ __('admin.status_update') }} status == 'active' ? 'checked' : '' }} name="status" value="active"> {{ __('admin.active') }} status == 'inactive' ? 'checked' : '' }} name="status" value="inactive"> {{ __('admin.inactive') }} {{ __('admin.select_address') }} * {{ __('admin.selected_manually_address') }} {{ __('admin.country') }} * {{ __('admin.state') }} * {{ __('admin.city') }} * {{ __('admin.area') }} * {{ __('admin.address') }} * {{ __('admin.postal_code') }} * {{ __('admin.working_hours') }} * Sr.No. {{ __('admin.weekDays') }} {{ __('admin.opening_time') }} {{ __('admin.closing_time') }} {{ __('admin.status') }} @foreach ($weekDays as $key => $weekDay) {{ $key + 1 }} {{ ucfirst($weekDay) }} @foreach ($branchStatus as $status) {{ ucwords($status) }} @endforeach @endforeach @endsection @section('script') @endsection
{{ __('admin.edit_workshop') }}