Second and Third template component file

This commit is contained in:
Cüneyt Şentürk
2021-07-10 00:40:31 +03:00
parent ead767a308
commit 7a75d800da
7 changed files with 49 additions and 15 deletions

View File

@ -167,7 +167,7 @@
</h5>
<p class="font-weight-bold mb-0 text-white" style="font-size: 26px; color:#ffffff; text-align:center;">
@money($transfer->expense_transaction->amount, $transfer->from_currency_code, true)
@money($transfer->expense_transaction->amount, $transfer->expense_transaction->currency_code, true)
</p>
</td>
</tr>

View File

@ -22,7 +22,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
@date($transfer->transferred_at)
@date($transfer->expense_transaction->paid_at)
</td>
</tr>
@endif
@ -34,7 +34,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
{{ $payment_methods[$transfer->payment_method] }}
{{ $payment_methods[$transfer->expense_transaction->payment_method] }}
</td>
</tr>
@endif
@ -46,7 +46,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
{{ $transfer->reference }}
{{ $transfer->expense_transaction->reference }}
</td>
</tr>
@endif
@ -58,7 +58,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
{{ $transfer->description }}
{{ $transfer->expense_transaction->description }}
</td>
</tr>
@endif
@ -75,7 +75,7 @@
</h5>
<p class="font-weight-bold mb-0 text-white" style="font-size: 26px; color:#ffffff; text-align:center;">
@money($transfer->amount, $transfer->from_currency_code, true)
@money($transfer->expense_transaction->amount, $transfer->expense_transaction->currency_code, true)
</p>
</td>
</tr>

View File

@ -126,7 +126,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
@date($transfer->transferred_at)
@date($transfer->expense_transaction->paid_at)
</td>
</tr>
@endif
@ -138,7 +138,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
{{ $payment_methods[$transfer->payment_method] }}
{{ $payment_methods[$transfer->expense_transaction->payment_method] }}
</td>
</tr>
@endif
@ -150,7 +150,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
{{ $transfer->reference }}
{{ $transfer->expense_transaction->reference }}
</td>
</tr>
@endif
@ -162,7 +162,7 @@
</td>
<td class="border-bottom-1" style="width:80%; padding-bottom:3px; font-size:14px;">
{{ $transfer->description }}
{{ $transfer->expense_transaction->description }}
</td>
</tr>
@endif
@ -179,7 +179,7 @@
</h5>
<p class="font-weight-bold mb-0 text-white" style="font-size: 26px; color:#ffffff; text-align:center;">
@money($transfer->amount, $transfer->from_currency_code, true)
@money($transfer->expense_transaction->amount, $transfer->expense_transaction->currency_code, true)
</p>
</td>
</tr>