@@ -14,7 +14,7 @@
|
||||
@if(count($aircraft->expenses) > 0)
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Cost <span class="small">{{ currency(config('phpvms.currency')) }}</span></th>
|
||||
<th>Cost <span class="small">{{ currency(setting('units.currency')) }}</span></th>
|
||||
<th>Type</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@if(count($airport->expenses))
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Cost <span class="small">{{ currency(config('phpvms.currency')) }}</span></th>
|
||||
<th>Cost <span class="small">{{ currency(setting('units.currency')) }}</span></th>
|
||||
<th>Type</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<td>{{ $entry->memo }}</td>
|
||||
<td>
|
||||
@if($entry->credit)
|
||||
{{ money($entry->credit, config('phpvms.currency')) }}
|
||||
{{ money($entry->credit, setting('units.currency')) }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if($entry->debit)
|
||||
{{ money($entry->debit, config('phpvms.currency')) }}
|
||||
{{ money($entry->debit, setting('units.currency')) }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -37,6 +37,12 @@
|
||||
list_to_assoc($themes),
|
||||
$setting->value,
|
||||
['class' => 'select2', 'style' => 'width: 100%; text-align: left;']) }}
|
||||
@elseif($setting->id === 'units_currency')
|
||||
{{ Form::select(
|
||||
$setting->id,
|
||||
$currencies,
|
||||
$setting->value,
|
||||
['class' => 'select2', 'style' => 'width: 100%; text-align: left;']) }}
|
||||
@else
|
||||
{{ Form::select(
|
||||
$setting->id,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
@if(count($subfleet->expenses))
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Cost <span class="small">{{ currency(config('phpvms.currency')) }}</span></th>
|
||||
<th>Cost <span class="small">{{ currency(setting('units.currency', 'USD')) }}</span></th>
|
||||
<th>Type</th>
|
||||
<th></th>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user