@extends('layouts/default') @section('commonbuttons') @stop @section('title') Settlement — {{date('01 M Y',strtotime($settlementDetail[0]['start_date']))}} to {{date('01 M Y',strtotime($settlementDetail[0]['end_date']))}} @stop @section('content')
@include('notifications') @if($error != '' && ($settlementDetail[0]['sync_status'] != 'Sync' && $settlementDetail[0]['sync_status'] != 'New'))

Error while Settlement Sync.

Please resolve error shown below then try to sync again using button below Create Invoice In Sage

@endif
Total Amount : {{$settlementDetail[0]['total_amount']}}
@php $status = ($settlementDetail[0]['sync_status'] == 'New' ? 'Pending to Send' : (($settlementDetail[0]['sync_status'] == 'Sync') ? 'Sent to Sage' : ( ($settlementDetail[0]['sync_status'] == 'Pending' || $settlementDetail[0]['sync_status'] == 'Syncpending') ? 'Error while Sent' : $settlementDetail[0]['sync_status']) ) ) @endphp {{$status}} @if($settlementDetail[0]['sage_document_number'] != '' && $settlementDetail[0]['sage_document_number'] != NULL) with Document Number : @if($settlementDetail[0]['sage_type'] == 'invoice') {{$settlementDetail[0]['sage_document_number']}} @else {{$settlementDetail[0]['sage_document_number']}} @endif @endif
{{ csrf_field() }}
@if($settlementDetail[0]['sync_status'] == 'Sync') @else @endif
@php $sellerid = App\Helpers\Helper::encryptor('decrypt',$seller_id); $allowdedsellers = config('amazonsummaryconstantxo.tax_selection_allow_us_seller_ids'); @endphp @if($tax_method != "line") @endif
Description Amount AccountTax
@foreach($summaryData as $key1=>$value1)
@foreach($value1 as $key=>$value) @if($tax_method != "line") @endif @endforeach
{{$value['FeeType_description']}} {{$value['CurrencyAmount']}} {{ Form::select($value['FeeType'], $value['accountsList'] , Input::old($value['FeeType'], @$value['account']), array('class'=>'form-control select2', 'style'=>'width:100%','id'=>$acc_name_and,'original_account'=>$value['original_account'])) }}{{ Form::select($taxrate_acc_name, $vatRateDataList , Input::old($taxrate_acc_name, @$value['taxRate']), array('class'=>'form-control select2', 'style'=>'width:100%' , 'id'=>$taxrate_acc_name_and,'original_account'=>$value['original_tax_account'])) }}
@endforeach @if($settlementDetail[0]['sync_status'] == 'Sync') @else @endif Cancle
@stop @section('moar_scripts') @include ('partials.bootstrap-table', ['exportFile' => 'Sellers-export', 'search' => true]) @stop