@extends('layout.app') @section('title', 'Edit Vehicle') @push('header_script') @endpush @section('content')
{!! Form::open([ 'route' => ['vehicle.update', $vehicleData->id], 'method' => 'put', 'onsubmit' => 'BtnSubmit.disabled = true', 'class' => 'row g-3 needs-validation', 'autocomplete' => 'off', 'novalidate' => 'novalidate', 'files' => true, ]) !!}
{{ $errors->first('owner_name') }}
{!! Form::select( 'owner_type', [ '' => 'Select', 'individual' => 'Individual', 'partnership firm' => 'Partnership Firm', 'private limited company' => 'Private Limited Company', 'limited company' => 'Limited Company', 'llp' => 'LLP', 'huf' => 'HUF', ], old('owner_type', $vehicleData->owner_type), ['class' => 'form-control', 'id' => 'owner_type', 'required'], ) !!}
{{ $errors->first('owner_type') }}
{{ $errors->first('address') }}
{!! Form::select( 'manufacturer', [ '' => '--Select--', 'Tata Motors' => 'Tata Motors', 'Ashok Leyland' => 'Ashok Leyland', 'Mahindra Truck & Bus' => 'Mahindra Truck & Bus', 'Eicher Trucks & Buses' => 'Eicher Trucks & Buses', 'BharatBenz' => 'BharatBenz', 'VE Commercial Vehicles (VECV)' => 'VE Commercial Vehicles (VECV)', 'Volvo Trucks India' => 'Volvo Trucks India', 'Force Motors' => 'Force Motors', 'Maruti Suzuki Commercial' => 'Maruti Suzuki Commercial', 'Isuzu Motors India' => 'Isuzu Motors India' ], old('manufacturer', $vehicleData->manufacturer), ['class' => 'form-control', 'id' => 'manufacturer'], ) !!}
{{ $errors->first('manufacturer') }}
{{ $errors->first('vehicle_model') }}
{!! Form::select( 'vehicle_type', ['' => '--Select--', 'self' => 'Self', 'market' => 'Market'], old('vehicle_type', $vehicleData->vehicle_type), ['class' => 'form-control', 'id' => 'vehicle_type', 'required'], ) !!}
{{ $errors->first('vehicle_type') }}
{{ $errors->first('vehicle_no') }}
{{ $errors->first('load_size') }}
{{ $errors->first('opening_balance') }}
{{ $errors->first('opening_km') }}
{{ $errors->first('starting_date') }}
tds_form_received) == 'yes' ? 'checked' : '' }}>
{{ $errors->first('tds_form_received') }}
rc_received) == 'yes' ? 'checked' : '' }}>
{{ $errors->first('rc_received') }}
@if (\App\Http\Helpers\CommonHelper::checkGeneralSetting('maintain_balance') == 'yes')
maintain_bal_bill) == 'yes' ? 'checked' : '' }}>
{{ $errors->first('maintain_bal_bill') }}
@endif
pan_card_received) == 'yes' ? 'checked' : '' }}>
{{ $errors->first('pan_card_received') }}
receiving_payment_pending) == 'receive' ? 'checked' : '' }}>
receiving_payment_pending) == 'payment' ? 'checked' : '' }}>
{{-- FINANCE DETAILS --}}
Finance Details
{{-- INSURANCE --}}
Insurance Details
@if (optional($vehicleDocument)->insurance_file) View File @endif
{{-- RC --}}
RC Registration
@if (optional($vehicleDocument)->rc_file) View File @endif
{{-- PUC --}}
PUC Details
@if (optional($vehicleDocument)->puc_file) View File @endif
{{-- FITNESS --}}
Fitness Certificate
@if (optional($vehicleDocument)->fitness_file) View File @endif
{{-- ROAD TAX --}}
Road Tax Details
@if (optional($vehicleDocument)->road_tax_file) View File @endif
{!! Form::close() !!}
@endsection @push('footer_script') {{-- --}} @endpush