@extends('layouts.main') @section('content')
{{ Form::open(['url' => 'order/update/' . $header->order_id, 'method' => 'POST', 'name' => 'form', 'id' => 'createform', 'files' => true]) }} {{ Form::hidden("order_id", $header->order_id, ["id"=>"order_id"]) }}
受注情報

取引先情報

{{-- 通知メッセージ --}} @if ($message <> "")
{{ Form::label("message", $message, ["class"=>"form-control btn-success btn"]) }}
@endif @if (session()->has('errors'))
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
受注番号 {{ $header->order_id }}
注文状況 {{ $header->status_name }}
受注日 {{ $header->create_date }}
顧客番号 {{ $header->customer_id }}
取引先名 {{ $header->order_company_name }}
担当者名 {{ $header->order_name01 }} {{ $header->order_name02 }}
E-Mail {{ $header->order_email }}
電話番号 {{ $header->order_tel01 }} - {{ $header->order_tel02 }} - {{ $header->order_tel03 }}
FAX {{ $header->order_fax01 }} - {{ $header->order_fax02 }} - {{ $header->order_fax03 }}
郵便番号 {{ $header->order_zip01 }} - {{ $header->order_zip02 }}
住所 {{ $header->prefname }}{{ $header->order_addr01 }}{{ $header->order_addr02 }}
小計 {{ $header->subtotal }}
消費税 {{ $header->tax }}
合計 {{ $header->total }}
備考1 {{ $header->message }}
備考2 {{ $header->note }}
回収用配送番号 {{ Form::text("memo01", $header->memo01, ["class"=>"form-control", "id"=>"memo01", 'style' => 'width:25%']) }}
発送用配送番号 {{ Form::text("memo02", $header->memo02, ["class"=>"form-control", "id"=>"memo02", 'style' => 'width:25%']) }}
作業店 {{ $header->name_abbr }}

取引明細

@foreach ($datas as $data) @endforeach
製品コード 製品名 数量 単価
{{ $data->product_name }} {{ $data->product_code }} {{ $data->quantity }} {{ $data->price }}
@if ($message == "") {{ Form::hidden("status", $header->status) }} {{ Form::button("更新", ["class"=>"btn btn-success", "id"=>"submit_btn"]) }} {{ Form::button("キャンセル", ["class"=>"btn btn-default", "onClick"=>"javascript:window.history.back(-1);return false;"]) }} @else {{ Form::button("キャンセル", ["class"=>"btn btn-default", "onClick"=>"location.href='/WASHMATE-ADMIN/public/order/index'"]) }} @endif
{!! Form::close() !!}
@endsection