@php($assist = App\Services\Logic\Assist::class)
{{-- 明細行 --}}
{{-- INVOICE単位グルーピング: 個別purchase_header情報をJSON形式で保持 --}}
@php(
$purchaseHeaderIds = $row->purchase_header_ids
?? (isset($row->purchase_header_ids_json) && is_string($row->purchase_header_ids_json)
? json_decode($row->purchase_header_ids_json, true)
: null)
?? (($row->purchase_id ?? null) ? [$row->purchase_id] : [])
)
@php(
$purchaseItems = $row->purchase_items
?? (isset($row->purchase_items_json) && is_string($row->purchase_items_json)
? json_decode($row->purchase_items_json, true)
: null)
?? []
)
{{-- receipt_date, invoice_number は
内の で送信されるため hidden 不要 --}}
@if ($mode=="edit")
@endif
{{-- 選択(チェックボックス)--}}
@if ($mode!="edit")
|
{{--
--}}
|
@endif
@php($tdCls=($row->selected=="1")?"":"readonly")
{{-- 入荷日 --}}
|
{{-- 伝票No.(非表示: データはpurchase_items_json hidden inputで保持) --}}
{{-- INVOICE No. --}}
|
{{-- 通貨 --}}
@if($row->selected=="1")
@else
@endif
|
{{-- レート --}}
@if($row->selected=="1")
@else
@endif
|
{{-- 仕入金額(外貨) --}}
|
{{-- 仕入金額 --}}
|
{{-- 支払済金額(外貨) --}}
|
{{-- 支払済金額 --}}
|
{{-- 残高(外貨) --}}
|
{{-- 残高 --}}
|
{{-- 今回支払金額(外貨) --}}
@if($row->selected=="1")
@else
@endif
|
{{-- 今回支払金額 --}}
@if($row->selected=="1")
@else
@endif
|
{{-- メモ --}}
@if($row->selected=="1")
@else
@endif
|
|