@extends('layouts.main') @section('page-title') {{ __('Manage Deals') }} @if ($pipeline) - {{ $pipeline->name }} @endif @endsection @push('css') @include('layouts.includes.datatable-css') @endpush @section('page-breadcrumb') {{ __('Deals') }} @endsection @section('page-action')
@if ($pipeline)
{{ Form::open(['id' => 'change-pipeline']) }} {{ Form::select('default_pipeline_id', $pipelines, $pipeline->id, ['class' => 'form-control mx-2 custom-form-select', 'id' => 'default_pipeline_id']) }} {{ Form::close() }}
@endif
@stack('addButtonHook')
@permission('deal import')
@endpermission
@permission('deal create')
@endpermission
@endsection @section('content') @if ($pipeline)
{{ __('Total Deals') }}

{{ $cnt_deal['total'] }}

{{ __('This Month Total Deals') }}

{{ $cnt_deal['this_month'] }}

{{ __('This Week Total Deals') }}

{{ $cnt_deal['this_week'] }}

{{ __('Last 30 Days Total Deals') }}

{{ $cnt_deal['last_30days'] }}

{{ $dataTable->table(['width' => '100%']) }}
@endif @endsection @push('scripts') @include('layouts.includes.datatable-js') {{ $dataTable->scripts() }} @endpush