@extends('email') @section('email-body') @php if (isset($invoices) && count($invoices) > 0) { $client = $invoices[0]['client']; } @endphp @endsection