@php use App\Models\Facturacion\FormPayment; @endphp @component('mail::header', ['url' => '#', 'customer'=>$customer])@endcomponent @php $timeformat = now()->isoFormat('A'); $greeting = $timeformat==='a. m.' ? 'Buenos dias' : 'Buenas tardes'; $formpayment = FormPayment::where('usopropietario' , '=',1)->orderBy('type_currency')->get(['name','type_currency']); // $formpayment = FormPayment::select('name','type_currency')->orderBy('type_currency')->get(['name','type_currency']); @endphp {{ $greeting }} {{ $property['name'] }} Anexo se le remite el aviso de cobro del periodo {{ $property['periodo'] }} {{$property['typeproperty']}} Numero {{$property['codeproperty']}} del condominio {{ $property['condominio'] }} Conozca nuestras formas de pago @foreach( $formpayment as $method) {{$method->name}} Para pagos en : {{$method->type_currency}} @endforeach Nuestras formas de pago ... @foreach($accountbankactive as $account) @endforeach Recuerde que... {{--// {{ json_encode($formpayment) }} --}} {{-- --}} {{-- {{ $greeting }} {{ $customer['name'] }}--}} {{-- --}} {{-- Created by Rahul C.--}} {{-- {{$customer['name']}} {{ json_encode($property['name'])}}--}} @component('mail::footer')@endcomponent
Created by Rahul C.