@extends('admin.layouts.app') @push('styles') @include('datatable.css.data_table_css') @endpush @section('container')
{{-- @if(auth()->user()->can('unit_create')) --}} Create Asset {{-- @endif --}}

Asset List

@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>.

--}}
{{-- {{ $dataTable->table() }} --}} @foreach ($assets as $asset) @endforeach
SL Name Opening Balance Amount Status Action
{{ $loop->iteration }} {{ $asset->name }} {{ $asset->opening_balance }} {{ $asset->amount }} @if ($asset->status == 1) Active @else Inactive @endif Increment Decrement Increment History Decrement History
@endsection @push('scripts') {{-- @include('datatable.js.data_table_js') --}} {{-- {!! $dataTable->scripts() !!} --}} {{-- {{ $dataTable->scripts(attributes: ['type' => 'module']) }} --}} @endpush