@extends('layouts.master') @section('content')

Form Loading Checkout

@if($message = Session::get('success'))

Info

{{ $message }}

@endif @csrf
@role('Admin Sales Officer')
@endrole
@if(count($sme->voucher_card) > 0)
Voucher Card
Serial Number Kembali
@if(count($sn_return) > 0)
@foreach($sn_return as $val)
• {{ $val['product'] }}: {{ $val['sn_awal']}} -> {{ $val['sn_akhir'] }} ({{ $val['count_product']}})
@endforeach
@else
@endif
@foreach($sme->voucher_card->groupby('product') as $key => $value)
@endforeach @foreach($sme->voucher_card->groupby('product') as $key => $value)
@php $count_prod = ''; $min = 0; @endphp @if(!empty($sn_return)) @foreach($sn_return as $row) @if(str_replace(" ", "_", strtoupper($row['product'])) == str_replace(" ", "_", strtoupper($key))) @php $count_prod .= $row['product'].','; @endphp @endif @endforeach @php $explode_count = explode(",",substr($count_prod,0,-1)); @endphp @if(count(array_filter($explode_count)) == count($explode_count)) @php $min = count($explode_count); @endphp @endif @endif @if(!empty($sn_return))
{{ $key }} {{ $delta }}
@else
{{ $key }} {{ $product_num[$key] }}
@endif
@if(!empty($retailers)) @foreach ($retailers->retailers as $i => $row) @if(str_replace(" ", "_", strtoupper($row->product)) == str_replace(" ", "_", strtoupper($key)))
product)) }}_{{ str_replace(" ", "_", $row->retailer) }}">
product))}}" readonly="readonly" value="{{ $row->qty }}"/>
product)) }}_{{ str_replace(" ", "_", $row->retailer) }}" onclick="del_retailer(this);">
@endif @endforeach @endif
@endforeach
@endif @if(count($sme->evoucher) < 0)
eVoucher
Nama Toko
Nominal
Harga Jual
Metode Bayar
Action
@if(!empty($ev_end)) @foreach ($ev_end as $phone)
{{ $phone->msisdn }}
@endforeach
@else @foreach ($sme->evoucher as $phone)
{{ $phone->msisdn }}
@endforeach
@endif
@endif
@endsection