@extends('layouts.app') @section('title') Schedule Manage @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @php $curency_symble=(config('settings.is_code') == 'code') ? config('settings.currency_code') : config('settings.currency_symbol'); $transaction = new \App\Transaction(); @endphp @section('content')

Kelola Jadwal Piutang( {{ $items['branch']->name }} || {{ $items['customer']->name }} || {{ $items['product']->product_unique_id }} || {{ $transaction->convert_money_format($items['product']->net_sells_price) }} )

@php if($items['due_amount'] > 0 ){ $class= 'btn-danger'; }else{ $class= 'btn-success'; } @endphp Sampai Jumlah Jatuh Tempo: {{ $transaction->convert_money_format($items['due_amount']) }} ( {{ $curency_symble }} )
@php $id= 1; $comulative_payable_amount=0; @endphp @if (count($items['ScheduleReceivable']) > 0 ) @foreach ($items['ScheduleReceivable'] as $ScheduleReceivable) @php $payable_amount= $ScheduleReceivable->payable_amount; $comulative_payable_amount += $payable_amount; @endphp @php $id++; @endphp @endforeach @else @endif
# Istilah Jumlah yang Harus Dibayar ( {{ $curency_symble }} ) Jumlah Piutang Kumulatif ( {{ $curency_symble }} ) Tanggal Jadwal Opsi
{{ $id }} {{ $ScheduleReceivable->term }} {{ $transaction->convert_money_format($ScheduleReceivable->payable_amount) }} {{ $transaction->convert_money_format($comulative_payable_amount) }} {{ date(config('settings.date_format'), strtotime($ScheduleReceivable->schedule_date)) }} mode_edit menghapus
Tidak Ada Yang Menerima Schedule
# Ketentuan Jumlah yang harus dibayar ( {{ $curency_symble }} ) Jumlah Piutang Kumulatif ( {{ $curency_symble }} ) Tanggal Jadwal Opsi

Realisasi Diterima Kelola( {{ $items['branch']->name }} || {{ $items['customer']->name }} || {{ $items['product']->product_unique_id }} || {{ $transaction->convert_money_format($items['product']->net_sells_price) }} )

@php $id= 1; $total_received_amount=0; $total_adjustment=0; $total_actual_amount=0; @endphp @if (count($items['ActualReceived']) > 0 ) @foreach ($items['ActualReceived'] as $ScheduleReceivable) @php $total_received_amount +=$ScheduleReceivable->received_amount; $total_adjustment +=$ScheduleReceivable->adjustment; $total_actual_amount +=$ScheduleReceivable->actual_amount; @endphp @php $id++; @endphp @endforeach @else @endif
# Ketentuan Jumlah yang Diterima ( {{ $curency_symble }} ) Apengaturan ( {{ $curency_symble }} ) Jumlah sebenarnya ( {{ $curency_symble }} ) Tanggal Pengumpulan Dibayar Nomor Cek Nama Bank Keterangan Opsi
{{ $id }} {{ $ScheduleReceivable->term }} {{ $transaction->convert_money_format($ScheduleReceivable->received_amount) }} {{ $transaction->convert_money_format($ScheduleReceivable->adjustment) }} {{ $transaction->convert_money_format($ScheduleReceivable->actual_amount) }} {{ date(config('settings.date_format'), strtotime($ScheduleReceivable->date_of_collection)) }} {{ $ScheduleReceivable->made_of_payment }} {{ $ScheduleReceivable->cheque_no }} {{ $ScheduleReceivable->bank_name }} {{ $ScheduleReceivable->remark }} mode_edit menghapus
{{ $transaction->convert_money_format($total_received_amount) }} {{ $transaction->convert_money_format($total_adjustment) }} {{ $transaction->convert_money_format($total_actual_amount) }}
Tidak Ada Pembayaran Aktual
# Istilah Jumlah yang Diterima ( {{ $curency_symble }} ) Pengaturan ( {{ $curency_symble }} ) Jumlah sebenarnya ( {{ $curency_symble }} ) Tanggal Pengumpulan Dibayar Nomor Cek Nama Bank Keterangan Opsi
@stop @push('include-css') @endpush @push('include-js') {{----}} {{--All datagrid --}} @endpush