@extends('admin.layouts.app') @section('title', 'Opportunity pipeline') @section('content') @php($business_id = Auth::guard('admin')->user()->business_id) @php($currecy = DB::table('about_businesses')->join('currency_countries', 'about_businesses.base_currency', '=', 'currency_countries.currency_country_uuid')->where('business_id', $business_id)->select('currency_countries.country_code')->first())

Pipeline View

View, manage and plan all your sales pipeline on one screen. you will get a bird eye view on all your customer journey, which will help for better planning, so happy closing!
@foreach($a_each_stage_data as $each_stage) @php($each_stage_deals = count($each_stage['stage_all_opportunity']))
{{$each_stage['stage_name']}}
{{$each_stage_deals}} Lead(s){{ !empty($currecy) ? $currecy->country_code : 'USD' }} {{number_format($each_stage['stage_amount'],$business->amt_decimal)}}
@endforeach
@foreach ($a_each_stage_data as $each_stage) @php($a_stage_all_opportunities = $each_stage['stage_all_opportunity']) @php($each_stage_deals = count($a_stage_all_opportunities)) @php($lock_attr = '') @if($each_stage['stage_uuid'] == $won_uuid) @php($lock_attr = 'ui-state-default ui-state-disabled') @endif
@if(count($a_stage_all_opportunities) > 0) @foreach($a_stage_all_opportunities as $each_opportunity)
{{$each_opportunity['account_name']}}
{{$each_opportunity['opportunity_owner']}} @if($each_opportunity['due_class'] != 'due') in {{$each_opportunity['expiry_in_days']}} days @else {{$each_opportunity['expiry_in_days']}} days ago @endif
{{ !empty($currecy) ? $currecy->country_code : 'USD' }} {{(!empty($each_opportunity['opportunity_amount']) && !empty($each_opportunity['opportunity_amount']))?number_format($each_opportunity['opportunity_amount'],$business->amt_decimal):'0'}}
@endforeach @endif
@endforeach
@include('admin.common-modals.note'); @include('admin.common-modals.newmessage'); @include('admin.common-modals.sweet-alert'); @stop @section('styles') @stop @section('admin_js') @include('admin.opportunities.js.opportunity-pipeline') @stop