@extends('layout.app') @section('_style') @endsection @section('content')
| Dịch vụ | S.buổi | SL | Đơn giá | {{--VAT (%) | --}}CK(%) | CK(đ) | Thành tiền | ||
|---|---|---|---|---|---|---|---|---|
|
{!! Form::text('order_detail_id[]', $orderDetail->id, array('class' => 'form-control hidden')) !!}
|
@if(@$orderDetail->service->type == \App\Constants\StatusCode::PRODUCT) {!! Form::text('quantity[]', $orderDetail->quantity, array('class' => 'form-control quantity input-custom', 'required' => true)) !!} {{-- {!! Form::hidden('days[]', 0, array('class' => 'form-control input-custom', 'required' => true)) !!}--}} @else {{-- {!! Form::hidden('quantity[]', 0, array('class' => 'form-control quantity input-custom', 'required' => true)) !!}--}} {!! Form::text('days[]', @$orderDetail->days, array('class' => 'form-control input-custom', 'required' => true)) !!} @endif | {!! Form::text('price[]', number_format($orderDetail->price), array('class' => 'form-control price input-custom', '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 input-custom')) !!} | {!! Form::text('total_price[]', number_format($orderDetail->total_price), array('class' => 'form-control total input-custom','readonly'=>true)) !!} |
{{----}}
|
||
BS: {{@$order->supportOrder->doctor->full_name}} {{@$order->supportOrder->doctor->percent_rose}} %
YTa: {{@$order->supportOrder->yTaChinh->full_name}} {{@number_format(\App\Helpers\Functions::returnPercentRoseYta(@$order->supportOrder->yta1_id,@$order->supportOrder->yta2_id,'chinh'))}}
Yta: {{@$order->supportOrder->yTaPhu->full_name}} {{@number_format(\App\Helpers\Functions::returnPercentRoseYta(@$order->supportOrder->yta1_id,@$order->supportOrder->yta2_id,'phu'))}}
TV: {{@$order->supportOrder->tuVanChinh->full_name}} {{\App\Helpers\Functions::returnPercentRoseSupport(@$order->supportOrder->support1_id,@$order->supportOrder->support2_id,'chinh')}}
TV: {{@$order->supportOrder->tuVanPhu->full_name}} {{\App\Helpers\Functions::returnPercentRoseSupport(@$order->supportOrder->support1_id,@$order->supportOrder->support2_id,'phu')}}