@extends('layouts.app') @section('title', 'Bid to Win Report') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
{!! implode('
', $errors->all(':message')) !!}
@endif

Total Quotes Converted

{{ $total_quotes }}

Win %

{{ number_format($win_percentage, 2) }}

has('from')) onfocus="this.type='date'" onblur="if(this.value===''){this.type='text'}" @else type="date" @endif class="form-control bg-white" placeholder="From" name="from" value="@if(request()->has('from')){{request()->from}}@endif" />
has('to')) onfocus="this.type='date'" onblur="if(this.value===''){this.type='text'}" @else type="date" @endif class="form-control bg-white" placeholder="To" name="to" value="@if(request()->has('to')){{request()->to}}@endif" />
@if(!request()->has('from'))

Showing results from past 90 days.

@endif
@foreach($projects as $project) @endforeach
Project Added On
WG-{{ str_pad($project->id, 4, '0', STR_PAD_LEFT) }} • {{ !empty($project->title) ? $project->title : 'Untitled' }} {{ date('jS M Y', strtotime($project->created_at)) }}
@endsection @section('js') @endsection