@extends('layouts.front') @section('page-title', trans('crm.clients_my_estimates')) @section('content')
@include('partials.announcement')

@lang('crm.clients_my_estimates')

@include('partials.front-custom-menu')
@include('partials.messages')
@if(get_option('exclude_estimate_from_client_area_with_draft_status') == 0)
{{ $estimates_state['total_draft'] }} / {{ $estimates_state['total_estimates'] }}
{{$estimates_state['percent_draft']}}%
@endif
{{ $estimates_state['total_sent'] }} / {{ $estimates_state['total_estimates'] }}
{{$estimates_state['percent_sent']}}%
{{ $estimates_state['total_expired'] }} / {{ $estimates_state['total_estimates'] }}
{{$estimates_state['percent_expired']}}%
{{ $estimates_state['total_declined'] }} / {{ $estimates_state['total_estimates'] }}
{{$estimates_state['percent_declined']}}%
{{ $estimates_state['total_accepted'] }} / {{ $estimates_state['total_estimates'] }}
{{$estimates_state['percent_accepted']}}%
@if(count($estimates) > 0) @foreach($estimates as $estimate) @endforeach @endif
@lang('crm.clients_estimate_dt_number') @lang('crm.clients_estimate_dt_date') @lang('crm.clients_estimate_dt_duedate') @lang('crm.clients_estimate_dt_amount') @lang('crm.reference_no') @lang('crm.clients_estimate_dt_status')
{{ format_estimate_number($estimate['id']) }} @if($estimate['invoiceid'])
@lang('crm.estimate_invoiced') @endif
{{ local_date_format($estimate['date']) }} {{ local_date_format($estimate['expirydate']) }} {{ app_format_money($estimate['total'], $estimate['currency']) }} {{ $estimate['reference_no'] }} {!! format_estimate_status($estimate['status'], 'inline-block', true) !!}

@lang('crm.withdrawals')

@if(count($withdraw_requests) > 0) @foreach($withdraw_requests as $withdraw) @endforeach @endif
@lang('crm.settings_sales_heading_estimates') @lang('crm.invoice_payments_table_amount_heading') @lang('crm.invoice_payments_table_date_heading') @lang('crm.withdrawal_status') @lang('crm.bank_name')
{{ $withdraw['appendix_number'] }}    {!! $withdraw['appendix_status'] !!} {{ app_format_money($withdraw['total'], $withdraw['currency']) . ' / ' .app_format_money($withdraw['withdraw'], $withdraw['currency']) }} {{ local_date_format($withdraw['created_at']) }} {!! format_withdraw_status($withdraw['status'], 'inline-block', true) !!} {{ $withdraw['bank_name'] }}
@stop @section('scripts') @stop