@if (($data != null) && (count($data) > 0))
| Sales Date | Store ID | Bill NO | Membership NO | Name | Rules Applied | Points Spent | Points Gained | Total |
|---|---|---|---|---|---|---|---|---|
| {{date('Y-m-d', strtotime($val->date_added))}} | {{$val->store_id}} | {{$val->bill_no}} | {{empty($val->membership_no) ? '—' : $val->membership_no}} | {{empty($val->name) ? '—' : $val->name}} | {{empty($val->rules_applied) ? '—' : $val->rules_applied}} | {{empty($val->point_spent) ? '—' : number_format($val->point_spent)}} | {{empty($val->point_received) ? '—' : number_format($val->point_received)}} | Rp. {{number_format($val->subtotal)}} |