見積情報

@if(isset($id)) @endif {{-- @if ($department == "lease") @else @endif --}} @if ($department != "moritis") @if ($department === "lease") @else {{----}} @endif @endif
見積番号 {{ $estimate_no }}
見積日
@error('estimate_date') {{ $message }} @enderror
見積先顧客名見積先 @if (isset($partners['id'])) @else @include('backend.share._parts._partner_search_part', ['partner_id'=>isset($params->partner_id) ? old('partner_id', $params->partner_id) : old('partner_id')]) @if ($department == "truck")

新規登録

@else @if ($department == "parts")

新規登録

@else @if ($department == "lease")

新規登録

@else

新規登録

@endif @endif @endif @endif @error('partner_id') {{ $message }} @enderror
リース先 @include('backend.share._parts._partner_search_part2', ['partner2_id'=>isset($params->partner2_id) ? old('partner2_id', $params->partner2_id) : old('partner2_id')])

新規登録

車台番号 @error('chassis_no') {{ $message }} @enderror
@include('backend.share._parts._sagyo_uketsuke_first', ['hide_reception'=>1]) {{-- @include('backend.share._parts._sagyo_uketsuke_second', ['hide_reception'=>1]) --}}

作業内容

@php $addition = old('addition', (isset($addition) && is_array($addition) && count($addition)) ? $addition : null); @endphp @if (is_null($addition)) @include('backend.share.estimate._addition', ['index'=>0, 'range'=>4]) @else @foreach ($addition as $content_count=>$item) @include('backend.share.estimate._addition', ['index'=>$content_count, 'range'=>0]) @endforeach @endif @if($department == 'truck') @endif
項目 数量 単価 金額 消費税 備考
小計
消費税
車両代合計
@if($department == 'truck')
@else @php $total_fee = 0; @endphp @foreach(range(1, 12) as $index) @if($index % 2 == 0) @endif @endforeach @unless($department == 'truck') @endunless
付帯費用
@php $title_field = 'fee_title'.sprintf('%02d', $index); $fee_field = 'fee'.sprintf('%02d', $index); $const_arr = $department == 'truck' ? 'fee_title_truck' : 'fee_title'; @endphp @error('fee_title'.sprintf('%02d', $index)) {{ $message }} @enderror
@error('fee'.sprintf('%02d', $index)) {{ $message }} @enderror
課税
非課税
付帯費用{{ $department == 'truck' ? '合計' : '' }}
{{ $department == 'truck' ? '合計金額' : '見積合計' }}
@endif