Second and Third template component file
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@section('title', trans_choice('general.transfers', 1))
|
||||
|
||||
@section('content')
|
||||
<x-trasnfers.template.second
|
||||
<x-transfers.template.second
|
||||
:transfer="$transfer"
|
||||
/>
|
||||
@endsection
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user