@extends('layouts/default') @section('commonbuttons') @if($para != 'fromadmin') {{config('app.tabLables')['dashboard']}} @if($AccountingSystemName == 'Xero') {{config('app.tabLables')['settings']}} @endif @endif @stop @section('title') Settlement — {{date('d M Y',strtotime($settlementDetail[0]['start_date']))}} to {{date('d 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 {{$AccountingSystemName}}

@endif
Total Amount : {{$settlementDetail[0]['total_amount']}} Invoice Date : {{$settlementDetail[0]['invoice_date']}} Invoice Number : @if(!is_null($settlementDetail[0]['xo_id'])) {{$settlementDetail[0]['document_number']}} @else {{$settlementDetail[0]['document_number']}} @endif Currency : {{$settlementDetail[0]['currency']}}
{{ csrf_field() }}
@if($settlementDetail[0]['sync_status'] == 'Sync') @else @endif
@if($level > 6) @endif @php $sellerid = App\Helpers\Helper::encryptor('decrypt',$seller_id); @endphp @if($tax_method != "line" && $settingData['taxcode_disable'] == "No") @endif
DescriptionTaxAmount AccountTaxcode
@foreach($summaryData as $key2=>$value2)
{{$key2}}

@foreach($value2 as $key1=>$value1) @foreach($value1 as $key=>$value) @if(isset($value['percent'])) @php $i=1; @endphp @foreach($value['percent'] as $kp=>$vp) @if($vp['CurrencyAmount'] != 0) @if($i == 1) @php $count = count($value['percent']) @endphp @php $i++; @endphp @endif @if($tax_method != "line" && $settingData['taxcode_disable'] == "No") @endif @endif @endforeach @else @if($value['CurrencyAmount'] != 0) @if($level > 6) @if($tax_method != "line" && $settingData['taxcode_disable'] == "No") @endif @endif @endif @endforeach @endforeach
{{$value['FeeType_description']}}{{$kp}} {{$vp['CurrencyAmount']}} {{ Form::select($name, $vp['accountsList'] , Input::old($vp['FeeType'], @$vp['account']), array('class'=>'form-control select2', 'style'=>'width:100%','id'=>$name,'parent'=>$key2,'original_account'=>$vp['original_account'],'fee_type'=>$vp['FeeType'],'percent'=>$kp)) }}{{ Form::select($taxrate_name, $vatRateDataList , Input::old($taxrate_acc_name, @$vp['taxRate']), array('class'=>'form-control select2', 'style'=>'width:100%' , 'id'=>$taxrate_name,'parent'=>$key2,'original_account'=>$vp['original_tax_account'],'fee_type'=>$vp['FeeType'].'_taxrate','percent'=>$kp)) }}
{{$value['FeeType_description']}} @endif {{$value['CurrencyAmount']}} {{ Form::select($name, $value['accountsList'] , Input::old($value['FeeType'], @$value['account']), array('class'=>'form-control select2', 'style'=>'width:100%','id'=>$name,'parent'=>$key2,'original_account'=>$value['original_account'],'fee_type'=>$value['FeeType'])) }}{{ Form::select($taxrate_name, $vatRateDataList , Input::old($taxrate_acc_name, @$value['taxRate']), array('class'=>'form-control select2', 'style'=>'width:100%' , 'id'=>$taxrate_name,'parent'=>$key2,'original_account'=>$value['original_tax_account'],'fee_type'=>$value['FeeType'].'_taxrate')) }}
@endforeach @if($settlementDetail[0]['sync_status'] == 'Sync') @else @endif @if($para != 'fromadmin') Cancel @endif
@stop @section('moar_scripts') @include ('partials.bootstrap-table', ['exportFile' => 'Sellers-export', 'search' => true]) @stop