@extends('layouts.admin') @section('content')
@if(session('success')) @endif

Collections

@csrf
@if(Auth::user()->category == 2)
@endif @if(Auth::user()->category != 0)
@endif
@php($i=1) @foreach($collections as $x) @endforeach
Sl No Date Customer Amunt Remarks Agent Name Branch Action
{{$i++}} {{$x->date}} {{$x->c_name}} {{$x->amount}} {{$x->remarks}} {{$x->a_name}} {{$x->b_name}}
@endsection