@extends('layouts.app') @push('styles') @endpush @section('content')

{{ $title }}

{{--
@can('create '.$menu) Tambah Data @endcan
--}}
{{-- --}} @foreach($datas as $data) {{-- --}} @endforeach
No : Kode Transaksi : Siswa : Tanggal Tukar Point : Status : Total Point : Action :
{{ $loop->iteration }} {{ $data->kode }} {{$data->user->siswa->nama_siswa}} {{ date('d-m-Y h:i:s', strtotime($data->tanggal_tukar_point)) }} {{ $data->status }} {{ $data->total_point }} Pt
{{ csrf_field() }} @can('view '.$menu) detail @endcan {{-- @can('edit '.$menu) Edit @endcan --}} @can('delete '.$menu) @if($data->name != 'Admin' && $data->name != 'Orang Tua' && $data->name != 'Siswa' && $data->name != 'Petugas') @endif @endcan
@endsection @push('scripts') @if(isset($_GET['status']) && $_GET['status'] == "mobile") @endif @endpush