Send Invoices/Estimates/Payments as email attachments

This commit is contained in:
Sebastian Cretu
2021-02-05 20:24:56 +01:00
parent f47029ca78
commit 392f6f469b
21 changed files with 574099 additions and 47 deletions

View File

@ -17,9 +17,11 @@
@slot('subcopy')
@component('mail::subcopy')
{!! $data['body'] !!}
@component('mail::button', ['url' => url('/customer/estimates/pdf/'.$data['estimate']['unique_hash'])])
View Estimate
@endcomponent
@if(!$pdfData)
@component('mail::button', ['url' => url('/customer/estimates/pdf/'.$data['estimate']['unique_hash'])])
View Estimate
@endcomponent
@endif
@endcomponent
@endslot