@extends('backend.layouts.app') @section('content') @if (isset($is_confirm) && $is_confirm)

商品【確認】

@if(isset($params->id) && $params->id) {{ Form::open(["route"=>"backend.{$department}.product.update", "method"=>"post"]) }} @else {{ Form::open(["route"=>"backend.{$department}.product.store", "method"=>"post"]) }} @endif @else

商品【閲覧】

@include('backend.layouts.flash-message') @endif
商品区分 {{ \App\Models\Masters\MoritisProductClass::findById($params->product_class, 'name') }}
商品カテゴリ {{ \App\Models\Masters\MoritisProductCategory::findById($params->category_id, 'name') }}{{ $params->category_etc }}
商品名 {{ $params->name }}
仕入れ先 {{ is_object($params->partner) ? $params->partner->getFullName() : '' }}
仕入単価(税別) {{ (isset($params->purchase_unit_price) ? $params->purchase_unit_price : '') }}
定価(税別) {{ (isset($params->list_price) ? $params->list_price : '') }}
単位 {{ $params->sell_unit }}{{ \App\Models\Masters\MasterUnit::findById($params->unit, 'name') }}
在庫数 {{ $params->stock_amount }}
保管場所 {{ $params->store_location }}
商品画像 @if (!empty($params->image_file_path)) @if (Storage::disk('temp')->has($params->image_file_path)) @elseif (isset($params->id) && Storage::disk('moritis_product')->has($params->id.'/'.$params->image_file_path)) @endif @endif
備考 {!! nl2br($params->product_note) !!}
@if (isset($is_confirm) && $is_confirm) @if(isset($params->id) && $params->id) @else @endif @else @endif
{{ Form::close() }} @endsection @section('page_css') @endsection @section('page_js') @endsection