@extends('layouts.app') @section('content')
{{ _lang('Quotation List') }}
@php $currency = currency() @endphp @php $date_format = get_option('date_format','Y-m-d'); @endphp @foreach($quotations as $quotation) @endforeach
{{ _lang('Quotation Number') }} {{ _lang('Client') }} {{ _lang('Quotation Date') }} {{ _lang('Grand Total') }} {{ _lang('View') }}
{{ $quotation->quotation_number }} {{ $quotation->client->contact_name }} {{ date($date_format, strtotime($quotation->quotation_date)) }} @php $client_currency = $quotation->client->currency; @endphp @php $currency = $company_currency[$quotation->company_id]; @endphp @if($client_currency != $currency){ {{ decimalPlace($quotation->grand_total, currency($currency), $client_currency) }}
{{ decimalPlace($quotation->converted_total, currency($client_currency), $client_currency) }} @else {{ decimalPlace($quotation->grand_total, currency($currency), $client_currency) }} @endif
{{ _lang('View') }}
@endsection