@extends('backend.layouts.app') @section('content')

売上粗利

@php $str_date[0] = explode('-', date('Y-m', strtotime($current_date .' -2 month'))); $str_date[1] = explode('-', date('Y-m', strtotime($current_date .' -1 month'))); $str_date[2] = explode('-', $current_date); $str_date[3] = explode('-', date('Y-m', strtotime($current_date .' +1 month'))); @endphp

date('Y-m', strtotime($current_date .' -1 month'))]) }}">前月

{{ $str_date[2][0].'年'.sprintf('%2d', $str_date[2][1]).'月' }}

date('Y-m', strtotime($current_date .' +1 month'))]) }}">翌月

{{ Form::open(["route"=>"backend.lease.sale_gross.index", "method"=>"get", "id"=>"profit_search_form"]) }}
{{ Form::close() }}

仕入れ

@if ($prime_price->count() > 0) @foreach ($prime_price as $item) @php $total_cost = $item->vehicle_price + $item->vehicle_tax + $item->monthly_tax + $item->transportation_cost + $item->bidding_fee + $item->commission_fee + $item->etc_fee; @endphp @endforeach @else @endif
オーダー 仕入担当 入庫日 仕入先 年式 型式 形状 車両価格 消費税 自動車税 陸送費 落札料 手数料 入庫時
中古車仕上
その他費用 合計(税抜)
{{ !empty($item->created_date) ? Carbon::parse($item->created_date)->format('Y.m.d') : "" }} {{ $item->partner_name }} {{ App\Helper\SystemHelper::convertGtJDate($item->year_type_y) }} {{ (!empty($item->model_first) && !empty($item->model_second)) ? $item->model_first.'-'.$item->model_second : $item->model_first.$item->model_second }} {{ $item->vehicle_shape }} {{ !empty($item->vehicle_price) ? number_format($item->vehicle_price).'円' : '' }} {{ !empty($item->vehicle_tax) ? number_format($item->vehicle_tax).'円' : '' }} {{ !empty($item->monthly_tax) ? number_format($item->monthly_tax).'円' : '' }} {{ !empty($item->transportation_cost) ? number_format($item->transportation_cost).'円' : '' }} {{ !empty($item->bidding_fee) ? number_format($item->bidding_fee).'円' : '' }} {{ !empty($item->commission_fee) ? number_format($item->commission_fee).'円' : '' }} {{ !empty($item->etc_fee) ? number_format($item->etc_fee).'円' : '' }} {{ !empty($total_cost) ? number_format($total_cost).'円' : '' }}
仕入れデータが存在しません。

売上

@if ($sale_price->count() > 0) @foreach ($sale_price as $item) @endforeach @else @endif
オーダー 販売者 販売日 販売先 車両価格 消費税 リサイクル料 登録費用 納車前
中古車仕上
陸送代 その他 リサイクル料
(当社負担)
登録費用
(当社負担)
中古車仕上
(当社負担)
出品・成約料 その他
(当社負担)
車両管理費 部品原価 納車後
クレーム
合計
(税抜)
粗利 予測粗利 備考
{{ $item->sale_charger }} {{ !empty($item->sale_date) ? Carbon::parse($item->sale_date)->format('Y.m.d') : "" }} {{ $item->sale_dest }} {{ !empty($item->vehicle_price) ? number_format($item->vehicle_price).'円' : '' }} {{ !empty($item->consumption_tax) ? number_format($item->consumption_tax).'円' : '' }} {{ !empty($item->recycle_fee) ? number_format($item->recycle_fee).'円' : '' }} {{ !empty($item->registration_fee) ? number_format($item->registration_fee).'円' : '' }} {{ !empty($item->transportation_fee) ? number_format($item->transportation_fee).'円' : '' }} {{ !empty($item->other_fee) ? number_format($item->other_fee).'円' : '' }} {{ !empty($item->exhibition_contract_fee) ? number_format($item->exhibition_contract_fee).'円' : '' }} {{ !empty($item->bodywork_fee) ? number_format($item->bodywork_fee).'円' : '' }} {{ !empty($item->contract_fee) ? number_format($item->contract_fee).'円' : '' }} {{ !empty($item->total_sale_price) ? number_format($item->total_sale_price).'円' : '' }} {{ !empty($item->profit_correct) ? number_format($item->profit_correct).'円' : '' }} {{ !empty($item->profit_forecast) ? number_format($item->profit_forecast).'円' : '' }} @php echo nl2br($item->note); @endphp
売上データが存在しません。

@if ($sale_price->count() > 0) @foreach ($sale_price as $item) @endforeach @else @endif
支払い条件 入金予定日 引渡予定日
{{ $item->payment_terms }} {{ !empty($item->expect_deposit_date) ? Carbon::parse($item->expect_deposit_date)->format('Y.m.d') : "" }} {{ !empty($item->expect_delivery_date) ? Carbon::parse($item->expect_delivery_date)->format('Y.m.d') : "" }}
売上データが存在しません。
@endsection @section('page_js') @endsection