@extends('layouts.app') @section('title', __('repair::lang.upload_job_sheet_docs')) @section('content') @include('repair::layouts.nav')
@component('components.widget', ['class' => 'box-solid', 'icon' => 'ni ni-cloud-upload-96 text-primary', 'title' => __('repair::lang.upload_job_sheet_docs')])
@lang('repair::lang.job_sheet_no'): {{$job_sheet->job_sheet_no}}
@lang('receipt.date'): {{@format_datetime($job_sheet->created_at)}}
@lang('role.customer'): {{$job_sheet->customer->name}}
@lang('business.location'): {{$job_sheet->businessLocation?->name}}
@if($job_sheet->media->count() > 0)

@lang('repair::lang.uploaded_image_for', ['job_sheet_no' => $job_sheet->job_sheet_no])

@includeIf('repair::job_sheet.partials.document_table_view', ['medias' => $job_sheet->media])
@endif
@endcomponent @component('components.widget', ['class' => 'box-solid', 'icon' => 'fa fa-cloud text-primary', 'title' => 'Upload Files'])
{!! Form::open(['action' => '\Modules\Repair\Http\Controllers\JobSheetController@postUploadDocs', 'id' => 'job_sheet_doc_upload', 'method' => 'post']) !!}

@lang('purchase.max_file_size', ['size' => (config('constants.document_size_limit') / 1000000)]) @includeIf('components.document_help_text')


{!! Form::close() !!} @endcomponent @php $accepted_files = implode(',', array_keys(config('constants.document_upload_mimes_types'))); @endphp
@stop @section('javascript') @endsection