@extends('admin.layouts.app') @section('title', 'Purchase Logs') @push('styles') @include('datatable.css.data_table_css') @endpush @section('container')

Purchase Order Logs

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{--

Striped rows

Use .table-striped to add zebra-striping to any table row within the <tbody>.

--}}
@foreach($logs as $index => $log) @endforeach
SL Order NO. User Type Date
{{ $index+1 }} {{ $log->purchaseOrder->purchase_no??'' }} {{ $log->user->name??'' }} {{ $log->status }} {{ date('d-m-Y H:i:s',strtotime($log->created_at)) }}
@endsection @push('scripts') @include('datatable.js.data_table_js') {{-- {!! $dataTable->scripts() !!} --}} {{-- {{ $dataTable->scripts(attributes: ['type' => 'module']) }}--}} @endpush