@extends('layouts/contentLayoutMaster') @section('title', 'Management Accounts') @section('vendor-style') {{-- Page Css files --}} @endsection @section('page-style') {{-- Page Css files --}} @endsection @section('content')
@include('content.partial.form-message')

Accounts List

input("search")) }}"/>
@php $categories = [/*'Customers', 'Vendors',*/ 'Resources', 'Temporary', 'Other']; if(!empty($categories)){ @endphp @php } @endphp
@php $natures = ['Debit', 'Credit']; if(!empty($natures)){ @endphp @php } @endphp
Reset
@can('Financial - Accounts - Add') Add New Account @endcan

@if($accounts->total()) Records {{ ( $accounts->currentPage() - 1 ) * $accounts->perPage() + 1 }} to {{ ( $accounts->currentPage() - 1 ) * $accounts->perPage() + $accounts->count() }} from {{ $accounts->total() }} Records @else No Record @endif

@foreach( $accounts as $account ) @endforeach
ID Name Category Nature Action
{{ $account->id }} {{ $account->name }} {{ $account->category }} {{ $account->nature }} @if( $account->name != 'Sales' && $account->name != 'Purchases' ) @endif
{{ $accounts->appends($_REQUEST)->fragment('top-list')->links('vendor.pagination.bootstrap-5') }}
@endsection @section('vendor-script') {{-- Vendor js files --}} @endsection @section('page-script') @endsection