support price of 0
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
@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>
|
||||
@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>
|
||||
</x-container>
|
||||
|
||||
Reference in New Issue
Block a user