@extends('layouts.app') @section('filter-section')

@lang('modules.deal.pipeline')

@lang('app.year')

@endsection @section('content')
@if (canDataTableExport()) @lang('app.exportExcel') @endif
@lang('app.month') @lang('modules.deal.dealsToBeClosed') @lang('modules.deal.totalDealAmount') @lang('modules.deal.averageDealValue') @lang('modules.deal.wonDeals') @lang('modules.deal.dealsWonValue') @lang('modules.deal.lostDeals') @lang('modules.deal.dealsLostValue') @lang('modules.deal.otherDealStages') @lang('modules.deal.otherDealStagesValue') @foreach ($dealDatas as $dealData) {{ __('app.months.' . $dealData['month']) }} {{ $dealData['deals_closed'] }} {{ $dealData['total_deal_amount'] ? currency_format($dealData['total_deal_amount'], company()->currencyId) : 0 }} {{ $dealData['average_deal_amount'] ? currency_format($dealData['average_deal_amount'], company()->currencyId) : 0 }} {{ $dealData['won_deals'] }} {{ $dealData['deals_won_amount'] ? currency_format($dealData['deals_won_amount'], company()->currencyId) : 0 }} {{ $dealData['lost_deals'] }} {{ $dealData['deals_lost_amount'] ? currency_format($dealData['deals_lost_amount'], company()->currencyId) : 0 }} {{ $dealData['other_stages'] }} {{ $dealData['other_stages_value'] ? currency_format($dealData['other_stages_value'], company()->currencyId) : 0 }} @endforeach
@endsection @push('scripts') @endpush