Fix Invoice/Estimate template issues and Add Payment Receipt, Custom Payment Modes and Item units

This commit is contained in:
Jay Makwana
2020-01-05 07:22:36 +00:00
committed by Mohit Panjwani
parent 56a955befd
commit 4c33a5d88c
112 changed files with 5050 additions and 331 deletions

View File

@ -0,0 +1,31 @@
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => ''])
@if($data['company']['logo'])
<img class="header-logo" src="{{asset($data['company']['logo'])}}" alt="{{$data['company']['name']}}">
@else
{{$data['company']['name']}}
@endif
@endcomponent
@endslot
{{-- Body --}}
<!-- Body here -->
{{-- Subcopy --}}
@slot('subcopy')
@component('mail::subcopy')
You have received a new payment from <span class="company-name">{{$data['company']['name']}}</span>
@component('mail::button', ['url' => url('/payments/pdf/'.$data['payment']['unique_hash'])])
View Payment
@endcomponent
@endcomponent
@endslot
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
Powered by <a class="footer-link" href="https://craterapp.com">Crater</a>
@endcomponent
@endslot
@endcomponent