@php /* * 商品金額変更予約(待機中)のバッジ * |金額系6項目は3ブロックに分散しているため、項目キーで引ける形で受け取る * |(アイテム詳細=付属原価/粗利算出用単価/標準仕入単価、購入価格=価格、 *   大箱サイズ末尾=参考売価/上代価格) * |登録・取消の導線は編集画面のヘッダ(edit.blade.php)に置く */ $priceScheduleBadges = ($mode == 'edit' && isset($priceSchedule)) ? $priceSchedule->badges : []; @endphp
{{-- 予約の適用先は product_suppliers の最優先1件(priority昇順→id昇順) --}}
場所 手持数量 注文済数量 確保済数量 使用可能数量
@if($mode == 'edit') @endif
@if($product->set_type == Enum::value('SetType.Set'))
@else @if( $product->set_type==Enum::value('SetType.Single') && $product->product_type!=Enum::value('ProductType.Parts'))
@else @if($product->product_type==Enum::value('ProductType.Parts'))
@foreach($parentPartComponent as $row) @php($url = route('products.modal', ['product'=>$row->parent_product_id])) @endforeach
商品
@php($canView = (App\Services\Logic\Assist::getCurrentRoutePermissions()->canView)) @if($canView) @else {{$row->product_name}} @endif
@endif
{{--
@if($mode == 'create') 仕入先は商品の登録後に入力できます。
@elseif($mode == 'edit' || $mode == 'copy')
@if($mode == 'edit') @php($url = route('product-suppliers.index', ['product'=>$product->id])) @endif @if($mode == 'copy') 仕入先は商品の登録後に修正できます。 @endif
仕入先コード 仕入先名 通貨 価格
@endif
--}}
{{-- オープンプライス商品でも上代の予約は許容する(REQ-1.9) --}}
{{-- modal --}} {{-- script --}}