@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

OPERATIONS MANAGEMENT SYSTEM

DECLARATION REPORT

@foreach ($contracts as $contract) @endforeach
No. Mk Number Contract Number Buyer Contract Date Declaration Date Contract Tonnage Destination Port Country of Destination Type of Loan Basis Sales Price Exchange Rate Declared Category Cocoa Type Specialty
{{ $count++ }}. {{ $contract->mk_number }} {{ $contract->number }} {{ $contract->consignee->name }} {{ $contract->contract_date ? Carbon\Carbon::parse($contract->contract_date)->format('j M Y') : null }} {{ $contract->date_declared ? Carbon\Carbon::parse($contract->date_declared)->format('j M Y') : null }} {{ $contract->tonnage }} {{ $contract->destinationport->name }} {{ $contract->country->name }} {{ $contract->type_of_loan }} {{ $contract->base->name }} {{ number_format($contract->uk_cif_price, 2) }} {{ number_format($contract->exchangerate_declared, 4) }} {{ $contract->category }} {{ $contract->shipping_instruction->cocoa_type->type_name }} {{ optional($contract->shipping_instruction)->specialty_type }}
Showing {{ $contracts->firstItem() }} to {{ $contracts->lastItem() }} of total {{ $contracts->total() }} entries {!! $contracts->render() !!}
@endsection @section('more-scripts') @endsection