@extends('SuperAdmin.layout.layout') @section('title',"Requested Points") @section('page-name',"Requested Point") @section('page-detail',"All Requested Points Information") @section('body')
|
|
Employee | VIN# | Target/Product | Points | Claimed Date | Status | Action | |
|---|---|---|---|---|---|---|---|---|
|
|
{{ $point->e_name }} | {{ $point->vin_no }} | @if($point->prod) @php $pName = $products->firstWhere('id', $point->prod)->name; @endphp{{ $pName }} | @else{{ Str::limit($point->custom ?? 'No Custom', 20) }} | @endif{{ $point->points }} | {{ \Carbon\Carbon::parse($point->created_at)->format('m-d-y') }} | @if($point->status === 'Redeemed') Approved @elseif($point->status === 'Rejected') Rejected @elseif($point->status === 'Pending') Pending @endif |