@extends('layout.app') @section('_style') @endsection @section('content')
| Tên khách hàng: {{ @$order->customer->full_name }} | Người lên đơn: {{ @$order->owner->full_name }} |
| Địa chỉ: {{ @$order->customer->address }} | Phòng ban: |
| Điện thoại: {{ @str_limit($order->customer->phone,7,'xxx') }} - | Ngày tạo đơn: {{ date('d-m-Y', strtotime($order->created_at)) }} @if($order->hsd) Ngày hết hạn: {{ date('d-m-Y', strtotime($order->hsd)) }} @endif |
| Người nhận: {{ @$order->customer->full_name }} - Điện thoại: {{ @str_limit($order->customer->phone,7,'xxx') }} | Phương thức thanh toán: {{@$order->name_payment_type}} |
| STT | Mã | Sản phẩm|Dịch vụ | {{--Đơn vị tính | --}}Số lượng|Số buổi | Đơn giá | VAT (%) | CK (%) | CK (đ) | Thành tiền |
| {{ $key + 1 }} | {{ @$orderDetail->service->name }} | {{@$orderDetail->quantity>0 ? $orderDetail->quantity: $orderDetail->days}} | {{ number_format(@$orderDetail->price) }} | {{ $orderDetail->vat }} | {{ $orderDetail->percent_discount }} | {{ number_format($orderDetail->number_discount) }} | {{ number_format($orderDetail->total_price) }} | ||
| Khuyến mại (voucher) | {{ number_format($order->discount) }} | ||||||||
| Tổng cộng | {{ number_format($order->all_total) }} | ||||||||
| Doanh số: | {{ number_format($order->all_total) }} |
| Đã thanh toán: | {{ number_format($order->gross_revenue) }} |
| Thực tế phải thanh toán: | --}} {{--{{ number_format($order->all_total) }} | --}} {{--
| Khuyến mại (voucher): | {{ number_format($order->discount) }} |
| Chiết khấu : | {{ number_format($order->discount_order) }} |
| Đã thanh toán: | --}} {{--{{ number_format($order->gross_revenue) }} | --}} {{--
| Còn lại: | {{ number_format($order->the_rest) }} |