@extends('layout.app') @section('title') Manage Fx Sales @endsection @section('pagetitle') Manage Fx Sales @endsection @section('content')
@can('fx sales') Create Sales @endcan
@include('includes.success')
@foreach ($sales as $sale) @endforeach
Sn Customer Purchased Rate Naira Amount Foreign Amount Currency Reference Payment Mode Trnx Date
{{$i+1}} {{ucwords($sale->customer)}} {{number_format($sale->purchase_exchange_rate,2)}} {{number_format($sale->naria_amount,2)}} {{number_format($sale->foreign_amount,2)}} {{$sale->exchangerate->currency}} {{$sale->fx_reference}} {{$sale->payment_mode}} {{date("d-m-Y",strtotime($sale->tranx_date))}}
@endsection @section('scripts') @endsection