@if(!empty($report)) @foreach($report as $r) @if(!empty($r['error']) && is_string($r['error'])) {{ $r['error'] }}
@endif @endforeach @endif
1. Upload BDUK voucher file
{!! Form::open([ 'url' => 'upload_dcms_voucher_csv', 'id' => 'csv_upload_form', 'enctype' => 'multipart/form-data']) !!} {!! Form::close() !!}2. Filter customers within date range voucher was paid
{!! Form::open(['url' => 'bulk_voucher_vat']) !!} Use BDUK csv date? @if(!empty($from)) {!! Form::datetimeLocal('from', \Carbon\Carbon::parse($from)->format('Y-m-d\TH:m')) !!} @else {!! Form::datetimeLocal('from', null) !!} @endif to @if(!empty($to)) {!! Form::datetimeLocal('to', \Carbon\Carbon::parse($to)->format('Y-m-d\TH:m')) !!} @else {!! Form::datetimeLocal('to', null) !!} @endif {!! Form::close() !!}3. Customers to process
{!! Form::open(['url' => 'bulk_voucher_vat']) !!} @if(empty($leads)) Select date range first @else Use BDUK csv date?@foreach($leads as $lead) @if(!empty($lead->xero_id)) Is in Xero @else Not in Xero @endif | {{ $lead->fullname }} {!! $lead->dcms_voucher !!} Date {!! $install_invoice_details[$lead->id]['invoice_date'] !!} install_unit_amount install_tax_amount
@endforeach @endif {!! Form::close() !!}