@extends('layouts.app')
@section('title', __('repair::lang.add_repair'))
@section('content')
@if(is_null($default_location))
@endif
@if(!empty($repair_settings['default_product']))
@endif
@if(session('business.enable_rp') == 1)
@endif
{!! Form::open(['url' => action([\App\Http\Controllers\SellPosController::class, 'store']), 'method' => 'post', 'id' => 'add_sell_form', 'files' => true ]) !!}
{!! Form::hidden('status', 'final'); !!}
{!! Form::hidden('sub_type', 'repair'); !!}
{!! Form::hidden('has_module_data', true); !!}
@component('components.widget')
{!! Form::hidden('location_id', $default_location, ['id' => 'location_id', 'data-receipt_printer_type' => isset($bl_attributes[$default_location]['data-receipt_printer_type']) ? $bl_attributes[$default_location]['data-receipt_printer_type'] : 'browser']); !!}
{!! Form::label('repair_brand_id', __('repair::lang.manufacturer') . ':') !!}
{!! Form::select('repair_brand_id', $brands, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select')]); !!}
{!! Form::label('repair_model', __('repair::lang.model') . ':') !!}
{!! Form::text('repair_model', null, ['class' => 'form-control', 'placeholder' => __('repair::lang.model')]); !!}
{!! Form::label('repair_serial_no', __('repair::lang.serial_no') . ':') !!}
{!! Form::text('repair_serial_no', null, ['class' => 'form-control', 'placeholder' => __('repair::lang.serial_no')]); !!}
@if(in_array('service_staff' ,$enabled_modules))
{!! Form::label('res_waiter_id', __('repair::lang.assign_repair_to') . ':') !!}
{!! Form::select('res_waiter_id', $service_staff, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select')]); !!}
@endif
@show_tooltip(__('repair::lang.auto_send_email_tooltip'))
@show_tooltip(__('repair::lang.auto_send_sms_tooltip'))
{!! Form::label('documents', __('lang_v1.upload_documents') . ':' ) !!}
{!! Form::file('documents[]', ['multiple', 'id' => 'documents']); !!}
@include('repair::repair.partials.security_modal')
@include('repair::repair.partials.checklist_modal')
@endcomponent
@component('components.widget')
{!! Form::label('repair_defects',__('repair::lang.defect') . ':') !!}
{!! Form::textarea('repair_defects', null, ['class' => 'form-control', 'rows' => 3]); !!}
{!! Form::label('staff_note',__('repair::lang.noted_problems_n_technician_comments'). ':') !!}
{!! Form::textarea('staff_note', null, ['class' => 'form-control', 'rows' => 3]); !!}
@endcomponent
@component('components.widget')
@php
$hide_tax = '';
if( session()->get('business.enable_inline_tax') == 0){
$hide_tax = 'hide';
}
@endphp
@lang('sale.product')
|
@lang('sale.qty')
|
@if(!empty($pos_settings['inline_service_staff']) && in_array('service_staff' ,$enabled_modules))
@lang('restaurant.service_staff')
|
@endif
@lang('sale.price_inc_tax')
|
@lang('sale.subtotal')
|
|
@endcomponent
@component('components.widget')
@lang( 'sale.discount_amount' ):(-)
0
{{session('business.rp_name')}}
@lang('lang_v1.available'): 0
@lang('lang_v1.redeemed_amount'): (-)0
@lang( 'sale.order_tax' ):(+)
0
@lang('sale.total_payable'):
0
@endcomponent
{!! Form::close() !!}
@include('contact.create', ['quick_add' => true])
@stop
@section('javascript')
@include('repair::layouts.partials.javascripts')
@endsection