Thanh toán đơn hàng
{!! Form::open(array('url' => url('/admin/orders/'.$order->id), 'method' => 'put', 'files'=> true,'id'=>'fvalidate')) !!} {{--{!! Form::open(['method' => 'PUT', 'route' => ['admin.orders.update', $order->id]]) !!}--}}

{{number_format(\App\Helpers\Functions::totalPrice($order->order_details) - \App\Helpers\Functions::totalPrice($order->history_orders))}}

{!! Form::label('payment_date', 'Ngày thanh toán', array('class' => ' required')) !!} {{ $errors->first('full_name', ':message') }}
{!! Form::label('payment_type', 'Hình thức thanh toán', array('class' => ' required')) !!} {!! Form::select('payment_type',[1 => "Thẻ", 2 => 'Tiền mặt'], null, array('id' => 'payment_type','class' => 'form-control payment-type', 'required' => true)) !!}
{!! Form::label('price', 'Số tiền', array('class' => ' required')) !!} {!! Form::number('gross_revenue', null, array('class' => 'form-control gross-revenue', "data-type"=>"currency", 'required' => true)) !!}

Thanh toán: 0 đ

Còn lại: {{number_format(\App\Helpers\Functions::totalPrice($order->order_details) - \App\Helpers\Functions::totalPrice($order->history_orders))}} đ

Tiền trả lại

{!! Form::label('description', 'Ghi chú', array('class' => ' required')) !!}
{{ Form::close() }}