File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1211,7 +1211,11 @@ class="form-inline"
12111211 <a href =" {{ route (' components.show' , $component -> id ) } }" >{{ $component -> name } } </a >
12121212 </td >
12131213 <td >{{ $component -> pivot -> assigned_qty } } </td >
1214- <td >{{ trans (' general.cost_each' , [' amount' => Helper:: formatCurrencyOutput ($component -> purchase_cost )]) } } </td >
1214+ <td >
1215+ @if ($component -> purchase_cost != ' ' )
1216+ {{ trans (' general.cost_each' , [' amount' => Helper:: formatCurrencyOutput ($component -> purchase_cost )]) } }
1217+ @endif
1218+ </td >
12151219 <td >{{ $component -> serial } } </td >
12161220 <td >
12171221 <a href =" {{ route (' components.checkin.show' , $component -> pivot -> id ) } }" class =" btn btn-sm bg-purple hidden-print" data-tooltip =" true" >{{ trans (' general.checkin' ) } } </a >
You can’t perform that action at this time.
0 commit comments