発行日 {{ Carbon::now()->format('Y.n.j') }}
見積番号 {{ $purchase_estimate->estimate_no }}
御 見 積 書
{{$purchase_estimate->company_name1 . ' ' . $purchase_estimate->company_name2}} {{ config('const.honorific_type.'.(isset($purchase_estimate->partner->honorific_type) ? $purchase_estimate->partner->honorific_type : config('const.honorific_type_code.mr'))) }} {{ config('const.system_parts.'.config('const.system_parts_code.'.Session::get('department'))) }} ({{ config('const.system_parts_branch.'.Session::get('department')) }})
下記の通りお見積り申し上げます。 @switch(Session::get('department')) @case('truck')

□八女本社

〒834-0066 福岡県八女市室岡377-10
TEL.0943-24-1126 FAX.0943-24-4812

□福岡支店

〒813-0023 福岡県福岡市東区蒲田3-25-3
TEL.092-663-2588 FAX.092-663-6288

□埼玉支店

〒349-1125 埼玉県久喜市高柳1588-1
TEL.0480-53-8110 FAX.0480-53-8120

口東京営業所

〒104-0053東京都中央区晴海3丁目13-1
EAST棟5215号 @break @case('parts')

□本社

〒834-0121福岡県八女郡広川町広川1090-38
TEL:0943-24-9539 FAX:0943-24-9540

口第二ャード

〒834-0121 福岡県八女郡広川町広川1274-1
@break @case('moritis')

□本社

〒834-0121 福岡県八女郡広川町広川1090-21
TEL:0943-24-9517 FAX:0943-24-9518
@break @case('rental')

□福岡インター店

〒813-0023福岡県福岡市東区蒲田3-25-3
TEL:092-663-2500 FAX:092-663-6288

□福岡インター店・車両ヤード

〒811-2301福岡県糟屋郡粕屋町大字上大隈456

□神戸須磨店

〒654-0043 兵庫県神戸市須磨区外浜町4-1-2
@break @case('lease')

□本社オフィス

〒812-0038福岡市博多区祇園町8-13第一プリンスビル1F
TEL:0120-961-951 FAX:092-510-7550

□東京OFFICE

〒104-0053東京都中央区晴海3丁目13-1
EAST棟5215号

□大阪OFFICE

〒535-0031大阪府大阪市旭区高殿5-4-4
@break @endswitch
担当者 {{ isset($purchase_estimate->charge_user->last_name) ? $purchase_estimate->charge_user->last_name : '' }}
見積日 {{ $purchase_estimate->estimated_at ? (\App\Helper\SystemHelper::convertGtJDate(Carbon::parse($purchase_estimate->estimated_at)->format('Y')) . Carbon::parse($purchase_estimate->estimated_at)->format('n月j日')) : '' }}
有効期限 見積日から1か月
合計金額¥{{ !empty($purchase_estimate->getTotal()) ? number_format($purchase_estimate->getTotal()) : '' }}
@php $total_price = 0; @endphp @foreach(range(0, 15) as $index) @php $total_price += isset($purchase_estimate->items[$index]->price) ? $purchase_estimate->items[$index]->price : 0; @endphp @endforeach
項  目 金額 消費税 備考
{{ isset($purchase_estimate->items[$index]->item) ? $purchase_estimate->items[$index]->item : '' }} {{ (isset($purchase_estimate->items[$index]->price) && !empty($purchase_estimate->items[$index]->price)) ? number_format($purchase_estimate->items[$index]->price) : '' }} {{ (isset($purchase_estimate->items[$index]->consumption_tax) && !empty($purchase_estimate->items[$index]->consumption_tax)) ? number_format($purchase_estimate->items[$index]->consumption_tax) : '' }} {{ (isset($purchase_estimate->items[$index]->item_note)) ? $purchase_estimate->items[$index]->item_note : '' }}
小計 {{ !empty($total_price) ? number_format($total_price) : '' }}
消費税 {{ !empty($purchase_estimate->getTotal() - $total_price) ? number_format($purchase_estimate->getTotal() - $total_price) : '' }}
合計 {{ !empty($purchase_estimate->getTotal()) ? number_format($purchase_estimate->getTotal()) : '' }}