@extends('layouts.app') @push('styles') @endpush @section('content')
@include("layouts.partials.validate_alert")
{{--

| {{$data->name}}

--}}

Back | Detail {{ $title }}

{{--
{{$data->function}}
--}}

Siswa :

Nama Siswa {{$data->user->siswa->nama_siswa}}
No Identitas {{$data->user->siswa->no_identitas}}
Point Tersedia {{$data->user->siswa->point}} PT
Kode Transaksi {{$data->kode}}
Status {{$data->status}}
Transaksi {{$data->status == "pending" ? "Menunggu!" : "Selesai"}} @if($data->status != "pending") {{$data->note}} @else Mohon selesaikan transaksi anda di tempat reswara! @endif
@can('edit '.$menu)

Konfirmasi Transaksi

@csrf @method('PUT')


@if($data->status == "pending")
@endif
@endif
@foreach($data->barang_tukar_point as $d) @php $point = $d->point ? $d->point : $d->barang_tukar->point; @endphp @endforeach
No Nama Barang Point Jumlah Total
{{$loop->iteration}} {{$d->barang_tukar->nama}} {{ $point }} Pt {{ $d->jumlah }} {{ $point + $d->jumlah }} Pt
Grand Total {{$data->total_point}} Pt
{{--
Response API
--}}
@push('scripts') @if(isset($_GET['status']) && $_GET['status'] == "mobile") @endif @endpush @endsection