@if($settlement->total_invoice != $settlement->settled_value)
@endif @if(empty($settlement->photo))
@endif @if($settlement->transaksi_merchant_new_count > 0)
@endif
@if(!empty($settlement->photo)) @endif

@php $code_tx_jual = null; $total_row = count($tx_approveds) - 1; $baris = $showInfo = 0; $show = false; @endphp @forelse($tx_approveds as $key => $transaction_merchant) @php if($key != $total_row) { $baris = $key + 1; } $code_tx_jual = $transaction_merchant->id_transaction_sell ? : 0; @endphp @if($transaction_merchant->batch_no != 0 && !$show) @php $show = true; @endphp @endif @if($settlement->status != 0 && $settlement->status != 99) @if($transaction_merchant->id_transaction_sell) @if(($tx_approveds[$baris]->id_transaction_sell ? : 0) != $code_tx_jual) @else @if($key == $total_row) @endif @endif @else @if($showInfo == 0) @endif @php $showInfo = 1; @endphp @endif @endif @empty @endforelse
ID Date Code Settled Code
(inputed by GA)
Emas Tukaran Harga Beli Price
(inputed by GA)
Image
(inputed by GA)
Buy Transaction Transfer Transaction Sell Transaction

Additional Transaction

ID Date Code Settled Code
(inputed by GA)
Emas Tukaran Harga Beli Price
(inputed by GA)
Image
(inputed by GA)
Buy Transaction Transfer Transaction Sell Transaction
{{ $transaction_merchant->id }} @if(empty($transaction_merchant->photo)) @endif {{ $transaction_merchant->date_transaction }} {{ $transaction_merchant->code }} {{ $transaction_merchant->edc_transaction_number }} {{ $transaction_merchant->emas_tukar }} {{ number_format($transaction_merchant->buy_price) }} {{ number_format($transaction_merchant->harga_kotor) }} @if($transaction_merchant->photo) @else ~ @endif {{ $code_tx_jual . '***' . ($tx_approveds[$key]->id_transaction_sell ? : 0) }} {{ $key . ' == ' . $total_row }} @php $buy_code = $transaction_merchant->id_transaction_buy ? $transaction_merchant->buy_transaction->code : '~'; $buy_link = $buy_code != '~' ? url('transaction/inquiry?code=' . $buy_code) : '#'; @endphp {{ $buy_code }} @php $tf_code = $transaction_merchant->id_transaction_transfer ? $transaction_merchant->transfer_transaction->code : '~'; $tf_link = $tf_code != '~' ? url('transaction/inquiry?code=' . $tf_code) : '#'; @endphp {{ $tf_code }} @php $sell_code = $transaction_merchant->id_transaction_sell ? $transaction_merchant->sell_transaction->code : '~'; $sell_link = $sell_code != '~' ? url('transaction/inquiry?code=' . $sell_code) : '#'; @endphp {{ $sell_code }}
@if($transaction_merchant->status == 10) @else
Emas Tukaran : {{ $transaction_merchant->sell_transaction->tabungan_transaksi[0]->debet }} Gram | Harga Beli : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->harga_beli) }} | Total Jumlah Dana : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->jumlah_dana) }} | Biaya Transfer : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->biaya_layanan) }} | Total Ongkos : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->rupiah) }} | Total Disburse : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->total_dana_setor) }}
@endif
@if($transaction_merchant->status == 10) @else
Emas Tukaran : {{ $transaction_merchant->sell_transaction->tabungan_transaksi[0]->debet }} Gram | Harga Beli : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->harga_beli) }} | Total Jumlah Dana : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->jumlah_dana) }} | Biaya Transfer : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->biaya_layanan) }} | Total Ongkos : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->rupiah) }} | Total Disburse : Rp. {{ number_format($transaction_merchant->sell_transaction->tabungan_transaksi[0]->total_dana_setor) }}
@endif
No Data
@if($settlement->status == (\App\Models\Transaksi_merchant_settlement_model::STATUS)["0"]["id"])
* Reject if you want to cancel all settlement. The data will be send back to EDC
* Edit if you want to edit the settlement or the transaction data
* Once the data checked, you can click approve transaction to process the transaction.
@endif
@if($settlement->status != (\App\Models\Transaksi_merchant_settlement_model::STATUS)["99"]["id"] && $can_show) Add Transaction @else @endif

@if (Session::has('success'))
@endif @if (Session::has('oops'))
@endif @if(count($other_settlements) > 0)

Unapprove Additional Transaction

@forelse($other_settlements as $transaction_merchant) @empty @endforelse
ID Date Code Settled Code
(inputed by GA)
Price
(inputed by GA)
Image
(inputed by GA)
Buy Transaction Transfer Transaction Sell Transaction #
{{ $transaction_merchant->id }} @if(empty($transaction_merchant->photo)) @endif {{ $transaction_merchant->date_transaction }} {{ $transaction_merchant->code }} {{ $transaction_merchant->edc_transaction_number }} {{ number_format($transaction_merchant->harga_kotor) }} @if($transaction_merchant->photo) @else ~ @endif @php $buy_code = $transaction_merchant->id_transaction_buy ? $transaction_merchant->buy_transaction->code : '~'; $buy_link = $buy_code != '~' ? url('transaction/inquiry?code=' . $buy_code) : '#'; @endphp {{ $buy_code }} @php $tf_code = $transaction_merchant->id_transaction_transfer ? $transaction_merchant->transfer_transaction->code : '~'; $tf_link = $tf_code != '~' ? url('transaction/inquiry?code=' . $tf_code) : '#'; @endphp {{ $tf_code }} @php $sell_code = $transaction_merchant->id_transaction_sell ? $transaction_merchant->sell_transaction->code : '~'; $sell_link = $sell_code != '~' ? url('transaction/inquiry?code=' . $sell_code) : '#'; @endphp {{ $sell_code }} @if($transaction_merchant->status == 0 || !$transaction_merchant->id_transaction_buy || !$transaction_merchant->id_transaction_sell || !$transaction_merchant->id_transaction_transfer) @endif
No Data
@if($other_settlements[0]->status == 0) @else @endif

@endif