@include('includes.sidebar')
Point System - Create Reward
| ID |
Nominal |
Quantity |
Subtotal |
Action |
@php
$total = 0;
@endphp
@if(!empty($search_lists) && (is_array($search_lists) || is_object($search_lists)))
@forelse($search_lists as $list)
| {{ $list->id }} |
{{ $list->nominal }} |
{{ $list->reward_quantity }} |
Rp. {{ number_format($list->nominal * $list->reward_quantity, 2) }} |
@php
$total += $list->nominal * $list->reward_quantity
@endphp
|
@empty
| No Data |
@endforelse
@endif
Rp. {{ number_format($total, 2) }}
@include('includes.footer')