Edit Job Card
{!! Form::open(['route'=>array('job-card.update', $job_card->id), 'onsubmit'=>'BtnSubmit.disabled = true','method' => 'put', 'files'=>true]) !!}
{{-- Job Description Start --}}
{{-- Job Description End --}}
{{-- Spare Part Start --}}
{{-- Spare Part End --}}
{{-- Service Start --}}
{{-- Service End --}}
{{-- Sublet Service Start --}}
{{-- Sublet Service End --}}
request_discount == 'Pending' ? 'checked': ''}}>
{!! Form::close() !!}
Customer Detail
{{$errors->first('job_card_number')}}
{{$errors->first('job_card_date')}}
{!! Form::select("customer_id", [''=>'select customer']+$customer, old("customer_id",$job_card->customer_id), ['class'=>'form-control select2', 'required', 'id'=>'customer_id'] ) !!}
{{$errors->first('customer_id')}}
{{$errors->first('contact_number')}}
{!! Form::select("vin_number", [''=>'select '], old('vin_number'), ['class'=>'form-control select2', 'required', 'id'=>'vehicle_vin_number'] ) !!}
{{$errors->first('vin_number')}}
{!! Form::select("plate_number", [''=>'select '], old("plate_number"), ['class'=>'form-control select2', 'id'=>'plate_number'] ) !!}
{{$errors->first('plate_number')}}
{!! Form::select("vehicle_brand_id", [''=>'Select Brand']+$vehicleBrands, old("vehicle_brand_id", $job_card->customerVehicle->vehicle_brand_id), ['class'=>'form-control select2' ,'id' => 'vehicle_brand_id','required'=>'required'] ) !!}
{!! Form::select("vehicle_model_id", [''=>'Select Model']+$vehicleModels, old("vehicle_model_id", $job_card->customerVehicle->vehicle_model_id), ['class'=>'form-control select2' ,'id' => 'vehicle_model_id','required'=>'required'] ) !!}
{{$errors->first('emirates')}}
{{$errors->first('vehicle_km_in')}}
{{$errors->first('due_date')}}
{{$errors->first('service_reminder_date')}}
{!! Form::select("group_master_id", [''=>'select status']+$jobCardStatus, old("group_master_id", $job_card->group_master_id), ['class'=>'form-control select2', 'id'=>'group_master_id'] ) !!}
{{$errors->first('group_master_id')}}
@if($job_card->invoice_status == 'yes')
{!! Form::select("branch_ids", \App\Http\Helpers\Helper::getBranchData(), old("branch_id",$job_card->branch_id), ['class'=>'form-control select2' ,'disabled' ,'id' => 'branch_ids'] ) !!}
@else
{!! Form::select("branch_id", \App\Http\Helpers\Helper::getBranchData(), old("branch_id",$job_card->branch_id), ['class'=>'form-control select2' ,'id' => 'branch_id','required'=>'required'] ) !!}
@endif
{!! Form::select("job_category", ['regular'=>'Regular', 'insurance'=>'Insurance', 'warranty'=>'Warranty'], old("job_category", $job_card->job_category), ['class'=>'form-control', 'id'=>'job_category'] ) !!}
{{$errors->first('job_category')}}
{{$errors->first('advisor')}}
{{$errors->first('brought_name')}}
{!! Form::select("insurance_id", [''=>'select ', ]+$insurance, old("insurance_id", $job_card->insurance_id), ['class'=>'form-control select2', 'id'=>'insurance_id'] ) !!}
{{$errors->first('insurance_id')}}
{{$errors->first('claim_no')}}
{{$errors->first('excess_amount')}}
{{$errors->first('policy_no')}}
{{$errors->first('police_report_no')}}
{{$errors->first('lpo_no')}}
{{$errors->first('lpo_date')}}
{{$errors->first('complete_date')}}
Job Description
| Job Description | |
|---|---|
Spare Parts
| Spare Parts | Cost Price* | Selling Price* | Qty.* | Total | Department | |
|---|---|---|---|---|---|---|
Service Details
| Service description | Cost Price* | Selling Price* | Time* | Total Amount | Department | |
|---|---|---|---|---|---|---|
Sublet Service
| Services | Cost Price* | Selling Price* | Time* | {{--Job No. | --}}Total Amount | Department | |
|---|---|---|---|---|---|---|---|
| {!! Form::select("ss_department_id[]", [''=>'select']+$departments, old("ss_department_id[]",$job_card_sublet_service->ss_department_id), ['class'=>'form-control', 'id'=>'ss_department_id'.$ss_count] ) !!} |
{{$errors->first('discount_remarks')}}
{!! Form::select("print_type", ['normal'=>'Normal Invoice', 'proforma'=>'Proforma Invoice'], old("print_type", $job_card->print_type), ['class'=>'form-control', 'id'=>'print_type'] ) !!}
{{$errors->first('print_type')}}
{!! Form::select("technician_id", [''=>'select technician'], old("technician_id", $job_card->technician_id), ['class'=>'form-control', 'id'=>'technician_id'] ) !!}
{{$errors->first('technician_id')}}
{!! Form::select("supervisor_id", [''=>'select Supervisor'], old("supervisor_id", $job_card->supervisor_id), ['class'=>'form-control', 'id'=>'supervisor_id'] ) !!}
{{$errors->first('supervisor_id')}}
{{$errors->first('sales_man')}}
{{$errors->first('advance_amount')}}
@if($job_card->groupMaster->group_name == "Completed")
@endif
@if($job_card->groupMaster->group_name != "Job Cancelled")
@endif
@if($job_card->advance_status == 'no' && $job_card->invoice_status == 'no')
@endif