@extends('layouts.admin') @section('content')
| Account | Description | Division | Active | User | Code | Action | @foreach ($accounts as $account)
|---|---|---|---|---|---|---|
| {{ $account->code }} | {{ $account->description }} | {{ $account->division->code }} | {{ $account->is_active==1 ? 'Yes' : 'No' }} | {{ DB::table('users')->where('account_id', $account->id)->where('is_active', 1)->count() }} | {{ DB::table('codes')->where('account_id', $account->id)->where('is_active', 1)->count() }} |
No records found.
@endif