update available pcs

This commit is contained in:
franknstayn
2021-08-25 22:07:11 +08:00
parent 870a5f5f4d
commit 9b31dc4725

View File

@@ -29,9 +29,9 @@
</div> --}}
@if($available_qty !== null)
@if ($available_qty > 0)
<p>{{ $available_qty }} piece/s available</p>
<p><strong>{{ $available_qty }} piece/s available</strong></p>
@else
<p>Sold out</p>
<p><strong>Sold out</strong></p>
@endif
@endif