@extends('layouts.guest') @section('page-title', $appendix_number ) @section('sticky-navbar') @stop @section('content')
@include('partials.messages')

{{ format_estimate_number($appendix->id) }}

{!! format_organization_info() !!}
{{ trans('crm.invoice_bill_to') }}:
{!! format_customer_info($appendix, 'estimate', 'billing', true) !!}
@if($appendix->include_shipping == 1 && $appendix->show_shipping_on_estimate == 1) {{ trans('crm.ship_to') }}:
{!! format_customer_info($appendix, 'estimate', 'shipping') !!}
@endif

{{ trans('crm.estimate_data_date') }} {{ local_date_format($appendix->date) }}

@if(!empty($appendix->expirydate))

{{ trans('crm.estimate_data_expiry_date') }} {{ local_date_format($appendix->expirydate) }}

@endif @if(!empty($appendix->reference_no))

@lang('crm.reference_no'): {!! $appendix->reference_no !!}

@endif @if($appendix->sale_agent != 0 && get_option('show_sale_agent_on_estimates') == 1)

@lang('crm.sale_agent_string'): {!! get_staff_full_name($appendix->sale_agent) !!}

@endif
@foreach($appendix->items as $item) @endforeach
# Item Qty Rate Amount
1 {{ $item->description }} {{ $item->qty }} {{ $item->rate }} {{ $item->qty * $item->rate }}
{{ trans('crm.estimate_subtotal') }} {{ app_format_money($appendix->subtotal, $appendix->currency) }}
{{ trans('crm.estimate_total') }} {{ app_format_money($appendix->total, $appendix->currency) }}
@foreach($appendix['profit']['profit_per_month'] as $pf) @endforeach @foreach($appendix['profit']['profit_per_month'] as $pf) @endforeach @foreach($appendix['profit']['profit_per_month'] as $pf) @endforeach
{{ $pf['month'] }}
Balance {{ $pf['total'] }} @if($pf['blocked']) {{ $pf['blocked'] }} @endif
Profit %{{ $pf['profit'] }}%
@if($appendix['profit']['profit_blocked']) @endif
Gross Profit {{ $appendix['profit']['profit_gross'] }}
Net Profit {{ $appendix['profit']['profit_net'] }}
CBC Profit {{ $appendix['profit']['profit_cbc'] }}
Total Balance {{ $appendix['profit']['profit_total'] }}
Blocked amount {{ $appendix['profit']['profit_blocked'] }}
@if(!empty($appendix->clientnote))
{!! trans('crm.estimate_note') !!}

{!! $appendix->clientnote !!}
@endif @if(!empty($appendix->terms))

{!! trans('crm.terms_and_conditions') !!}

{!! $appendix->terms !!}
@endif
@include('front.withdraw', array('formData'=>''))
@stop @section('scripts') {!! HTML::script('assets/plugins/signature-pad/signature_pad.min.js') !!} @stop