@extends('layout.app') @section('content')
| Dịch vụ | Số buổi | Đơn giá | VAT (%) | CK(%) | CK(đ) | Thành tiền | |
|---|---|---|---|---|---|---|---|
|
{!! Form::text('order_detail_id[]', $orderDetail->id, array('class' => 'form-control hidden')) !!}
|
{!! Form::text('days[]', @$orderDetail->days, array('class' => 'form-control quantity', 'required' => true)) !!} {!! Form::hidden('quantity[]', $orderDetail->quantity, array('class' => 'form-control quantity', 'required' => true)) !!} | {!! Form::text('price[]', number_format($orderDetail->price), array('class' => 'form-control price', 'required' => true)) !!} | {!! Form::text('vat[]', $orderDetail->vat, array('class' => 'form-control VAT')) !!} | {!! Form::text('number_discount[]', number_format($orderDetail->number_discount), array('class' => 'form-control CK2')) !!} | {!! Form::text('total_price[]', number_format($orderDetail->total_price), array('class' => 'form-control total','readonly'=>true)) !!} | ||
|
|
{!! Form::text('days[]', 0, array('class' => 'form-control quantity', 'required' => true)) !!} {!! Form::hidden('quantity[]', 1, array('class' => 'form-control quantity', 'required' => true)) !!} | {!! Form::text('price[]', null, array('class' => 'form-control price', 'required' => true)) !!} | {!! Form::text('vat[]', 0, array('class' => 'form-control VAT')) !!} | {!! Form::text('number_discount[]', 0, array('class' => 'form-control CK2')) !!} | {!! Form::text('total_price[]', null, array('class' => 'form-control total','readonly'=>true)) !!} | ||
| @if(empty($order)) Voucher KM !!! @endif | @if(empty($order)) Voucher dịch vụ !!! @endif | ||||||
|
{!! Form::hidden('role_type', @$order->role_type, array('id' => 'role_type')) !!}
{!! Form::label('spa_therapisst_id', 'Kỹ thuật viên') !!}
{!! Form::select('spa_therapisst_id', $spaTherapissts, null, array('class' => 'form-control select2', 'placeholder' => 'Chọn kỹ thuật viên')) !!}
{!! Form::label('support_id', 'người tư vấn (nếu có)') !!}
{!! Form::select('support_id', $customer_support, null, array('class' => 'form-control select2', 'placeholder' => 'Chọn người tư vấn')) !!}
{!! Form::label('created_at', 'Ngày tạo đơn', array('class' => ' required')) !!}
{{ $errors->first('created_at', ':message') }}
|
Giảm giá (VNĐ) | {{isset($order)?@number_format($order->discount):0}} | |||||
| Chiết khấu tổng đơn (VNĐ) | @if(empty($order)) (%) @endif | {{isset($order)?@number_format($order->discount_order):0}} | |||||
| Tổng thanh toán (VNĐ) | {{isset($order)?@number_format($order->all_total):0}} | ||||||