@extends('vip.layouts')
@section('seo_title')
    订单详情
@endsection
@section('content')

    <form class="layui-form" action="{{ url()->full() }}" id="submitForm" name="submitForm" method="post" eventType="eventForm">
        {!! csrf_field() !!}
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.order_no')}}</label>
            <div class="layui-input-block">
                <input type="text" name="order_no"   lay-verify="" autocomplete="off" class="layui-input" value="{{isset($data['order_no'])?$data['order_no']:''}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.payer')}}</label>
            <div class="layui-input-block">
                <input type="text" name="payer" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{{isset(
      $data['payer'])?$data['payer']:''}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.ip')}}</label>
            <div class="layui-input-block">
                <input type="text" name="ip" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{{isset(
      $data['ip'])?$data['ip']:''}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.channel_name')}}</label>
            <div class="layui-input-block">
                <input type="text" name="pay_channel_name"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['pay_channel_name']}}" disabled="disabled">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.gateway_name')}}</label>
            <div class="layui-input-block">
                <input type="text" name="pay_gateway_name"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['pay_gateway_name']}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.typename')}}</label>
            <div class="layui-input-block">
                <input type="text" name="typename"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['typename']}}" disabled="disabled">
            </div>
        </div>

       <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.price')}}</label>
            <div class="layui-input-block">
                <input type="text" name="price"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['price']}}" disabled="disabled">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.status')}}</label>
            <div class="layui-input-block">
                <input type="text" name="status"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['status']}}" disabled="disabled">
            </div>
        </div>
  
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.bill_no')}}</label>
            <div class="layui-input-block">
                <input type="text" name="bill_no"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['bill_no']}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.real_price')}}</label>
            <div class="layui-input-block">
                <input type="text" name="real_price"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['real_price']}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.payer_id')}}</label>
            <div class="layui-input-block">
                <input type="text" name="payer_id" required  lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="{{isset(
      $data['payer_id'])?$data['payer_id']:''}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.notify_query')}}</label>
            <div class="layui-input-block">
              <textarea type="text" name="notify_query"   lay-verify="" autocomplete="off" disabled="disabled" style="width: 100%;height: 100px;" class="layui-input">{{$data['notify_query']}}</textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.created_at')}}</label>
            <div class="layui-input-block">
                <input type="text" name="created_at"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['created_at']}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.updated_at')}}</label>
            <div class="layui-input-block">
                <input type="text" name="updated_at"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['updated_at']}}" disabled="disabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">{{trans('pay_orders.operator')}}</label>
            <div class="layui-input-block">
                <input type="text" name="operator"   lay-verify="" autocomplete="off" class="layui-input" value="{{$data['operator']}}" disabled="disabled">
            </div>
        </div>

      <div class="layui-form-item">
        <label class="layui-form-label">{{trans('pay_orders.remark')}}</label>
        <div class="layui-input-block">
          <textarea type="text" name="remark"   lay-verify="" autocomplete="off" disabled="disabled" style="width: 100%;height: 100px;" class="layui-input">{{$data['remark']}}</textarea>
        </div>
      </div>

    </form>

    <script>
        //Demo
        layui.use(['form'], function(){
            var form = layui.form;

            //监听提交
            form.on('submit(submitForm)', function(data){
                return true;
            });
        });

    </script>
@endsection

<style>
  

    .layui-input-block {
        width: 40% !important;
        margin-left: 0 !important;
        display: inline-block;
    }
</style>
