support price of 0
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
<div class="text-gray-600 text-sm mb-1 flex gap-2">
|
<div class="text-gray-600 text-sm mb-1 flex gap-2">
|
||||||
<div class="w-6 flex items-center justify-center">
|
<div class="w-6 flex items-center justify-center">
|
||||||
<i class="fa-solid fa-dollar-sign"></i>
|
<i class="fa-solid fa-dollar-sign"></i>
|
||||||
</div>{{ isset($workshop->price) && $workshop->price !== '' ? $workshop->price : 'Free' }}
|
</div>{{ isset($workshop->price) && $workshop->price !== '' && $workshop->price !== '0' ? $workshop->price : 'Free' }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
@if(\App\Helpers::isUnderAge($workshop->ages))
|
@if(\App\Helpers::isUnderAge($workshop->ages))
|
||||||
<p class="text-gray-600 text-sm pl-3 ml-2 mb-6 border-l-4 border-l-yellow-400">Parental supervision may be required for children 8 years of age and under.</p>
|
<p class="text-gray-600 text-sm pl-3 ml-2 mb-6 border-l-4 border-l-yellow-400">Parental supervision may be required for children 8 years of age and under.</p>
|
||||||
@endif
|
@endif
|
||||||
<h2 class="text-gray-600 text-lg font-bold mb-2"><i class="mr-1 fa-solid fa-dollar-sign"></i> {{ isset($workshop->price) && $workshop->price !== '' ? $workshop->price : 'Free' }}</h2>
|
<h2 class="text-gray-600 text-lg font-bold mb-2"><i class="mr-1 fa-solid fa-dollar-sign"></i> {{ isset($workshop->price) && $workshop->price !== '' && $workshop->price !== '0' ? $workshop->price : 'Free' }}</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</x-container>
|
</x-container>
|
||||||
|
|||||||
Reference in New Issue
Block a user