@extends('layouts.app') @section('title', ' - Add Parking') @push('css') @endpush @section('content')
{{ __('application.parking.total_parking_space') }}

{{ $total_slots }}

{{ __('application.parking.total_booked') }}

{{ $currently_parking }}

{{ __('application.parking.total_available') }}

{{ $total_slots - $currently_parking }}

{{ __('application.parking.quick_checkout') }}
@csrf
{{ __('application.parking.add_parking') }}
@csrf
@if(auth()->user()->hasRole('admin'))
@if ($errors->has('place_id')) {{ $errors->first('place_id') }} @endif
@else @endif
@if ($errors->has('vehicle_no')) {{ $errors->first('vehicle_no') }} @endif
@if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
@if ($errors->has('driver_name')) {{ $errors->first('driver_name') }} @endif
@if ($errors->has('driver_mobile')) {{ $errors->first('driver_mobile') }} @endif

{{ __('application.parking.please_select_a_slot') }}

@if ($errors->has('slot_id'))
warning
{{ $errors->first('slot_id') }}
@endif
{{ __('application.parking.all_parking_list') }}
{{__('application.table.serial')}} {{__('application.parking.barcode')}} {{__('application.parking.vehicle_no')}} {{__('application.parking.type')}} {{__('application.parking.in_time')}} {{__('application.parking.out_time')}} {{__('application.parking.payable_amount')}} {{__('application.parking.parking_slot')}} {{__('application.table.option')}}
@endsection @push('scripts') @endpush