@extends('emails.layouts.app') @section('content')

Hospitals with low amount of assets:

@forelse($dangerStock as $hospital) @if(count($hospital->invoices) > 0)

{{ $hospital->name }}

@endif @empty

There are no danger in invoice yet.

@endforelse

Changes in the amounts for last 24 hours:

@if(count($transactions) > 0) @foreach($transactions as $transaction) @if($loop->index == 10) @break; @endif @endforeach
Hospital Asset Items of transactions Items left
{{ $transaction->team->name }} {{ $transaction->asset->name }} {{ $transaction->sum }} {{ $transaction->current_invoice }}
@if(count($transactions) > 10)

Log in to view more transactions

@endif @else

No transactions were made during last 24 hours.

@endif @endsection