@extends('layouts.app') @section('title', 'Order Detail') @section('style') @endsection @section('content')

Order Detail

รายละเอียดใบจ่ายงาน:
สร้างเมื่อ @display_thai_datetime($order->created_at) แก้ไขล่าสุด @display_thai_datetime($order->updated_at)

ใบจ่ายงาน วันที่: @display_thai_date($order->order_date)

เลขที่อ้างอิง (ใบเสนอราคา):
#{{ $order->quotation_no }}
ลงวันที่: @display_thai_date($order->quotation_date)
รหัสลูกค้า: {{ $order->customer_code }}
ชื่อลูกค้า: {{ $order->customer_name }} โทร.: {{ $order->customer_tel }}
วันที่รับงาน: @display_thai_date($order->begin_date) ระยะเวลาทำงาน: {{ $order->duration }}
วันกำหนดส่งงาน: @display_thai_date($order->end_date)
ชื่อผู้ว่าจ้าง
{{ $order->owner_name }}
โทร.: {{ $order->owner_tel }}
วัตถุประสงค์: {{ $order->objective_text }}
อื่นๆ: {{ $order->objective_other_text }}
ประเภทรายงาน:
@if($order->document_is_thai==1) ภาษาไทย จำนวน {{ $order->document_thai_count }} ฉบับ
@endif @if($order->document_is_eng==1) ภาษาอังกฤษ จำนวน {{ $order->document_eng_count }} ฉบับ @endif
รายงานเดิมเลขที่ #{{ $order->ref_no }}
รายงานเลขที่ #{{ $order->order_no }}
ที่ตั้งทรัพย์สิน:
{{ $order->asset_address }}
ตำบล/แขวง {{ $order->thumbol_name }} อำเภอ/เขต {{ $order->district_name }} จังหวัด {{ $order->province_name }}
ประเภททรัพย์สิน: {{ $order->asset_type_text }}
รายละเอียดทรัพย์สิน: {{ $order->asset_detail }}
เอกสารสิทธิ์: {{ $order->asset_document }} จำนวน {{ $order->asset_document_count }} ฉบับ
@if(Auth::User()->can('New Order'))

ค่าบริการ:

ลำดับ รายการ บาท
เป็นเงิน
Vat 7%
รวมเป็นเงิน
@endif

เงื่อนไขการชำระเงิน:

{{ $order->payment_condition_text }}

การเก็บเงิน: {{ $order->payment_status_text }}
ใบเสร็จ/ใบวางบิล
ชื่อ: {{ $order->receipt_name }} ที่อยู่:

{{ $order->receipt_address }}
ใบเสนอราคา
ชื่อ: {{ $order->quotation_name }}
ที่อยู่:
{{ $order->quotation_address }}
วันนัดสำรวจ @display_thai_date($order->survey_date)
เวลา: {{ $order->survey_time }}
สถานที่: {{ $order->survey_address }}
ผู้สำรวจ: {{ $order->surveyer }}
ผู้ประสานงาน: {{ $order->coordinator }}
โทร.: {{ $order->coordinator_tel }}

@if($voucher)

ประวัติการเบิกเงิน

เลขที่งาน: {{ $voucher->order_no }}
จ่ายให้: {{ $voucher->pay_for_name }}
โดย: {{ $voucher->payment_method_text }}
@foreach($order->voucher()->voucher_items() as $i=>$item) @endforeach
ลำดับ รายการ จำนวนเงิน (บาท)
{{ 1 + $i }}. {{ $item->description }} {{ \number_format($item->amount, 2) }}
รวมเป็นเงิน {{ \number_format($order->payment_total, 2) }}
ยอด 60% {{ \number_format($order->payment_total * 0.6, 2) }}
ยอด 40% {{ \number_format($order->payment_total * 0.4, 2) }}
@endif

การนำเสนอรายงาน

ชื่อ: {{ $order->report_name }}
เรียน: {{ $order->report_address }}

การส่งงาน/จ่าหน้าซอง

ชื่อ: {{ $order->postbox_name }}
ที่อยู่:
{{ $order->postbox_address }}
{{--

รายละเอียดอื่นๆ

ผู้ถือกรรมสิทธิ์: {{ $order->holder_name }}
วันที่ประเมิน // วันที่สำรวจ: @display_thai_date($order->estimate_date)
วันที่ส่งงาน: @display_thai_date($order->delivery_date)
วิธีประเมิน: {{ $order->how_to_estimate }}

ราคาที่ดิน // ราคาเครื่องจักร: {{ $order->land_price }}
ราคาตลาด: {{ $order->market_price }}

ผู้ประเมินหลัก: {{ $order->primary_assessor_name }}
เจ้าหน้าที่: {{ $order->staff_name }}
ผู้ตรวจสอบรายงาน: {{ $order->report_auditor_name }}

วันที่ส่งรูปเล่ม: @display_thai_date($order->document_delivery_date)
ชื่อไฟล์ pdf: {{ $order->document_file_name }}
ราคาทรัพย์สิน: {{ $order->latest_price }}
โฉนดเลขที่ // ประเภทกิจการ: {{ $order->deed_no }}
เนื้อที่ดิน // จำนวนเครื่องจักร: {{ $order->usage_area }}
พื้นที่ใช้สอย // เครื่องจักรจดทะเบียน: {{ $order->usage_space }}
จำนวนชั้น // เครื่องจักรไม่จดทะเบียน: {{ $order->number_of_floors }}
ชั้นที่: {{ $order->floor }}
{{ $order->moo_ban }}
อาคาร {{ $order->building }}
บ้านเลขที่ {{ $order->house_number }} หมู่ที่ {{ $order->moo }}
ซอย {{ $order->soi }} ถนน {{ $order->road }}
{{ $order->thumbol_name }} {{ $order->district_name }} {{ $order->province_name }}
ละติจูด: {{ $order->latitude }}
ลองจิจูด: {{ $order->longitude }}

--}}
หมายเหตุ: {{ $order->comment }}
@endsection @section('script') @stop