Update date_input.php

Corrected this from 1 to 2.  'All' is counted in the array which means that if there is only one stock location, this dropdown will still appear.  Setting this to 2 means that the dropdown only shows when there is more than 1 stock location.
This commit is contained in:
objecttothis authored and GitHub committed 2019-07-12 15:16:21 +04:00
1 parent 991830817e
commit f235cede08
1 file changed
+1 -1
+1 -1
View File
@@ -70,7 +70,7 @@ if(isset($error))
?>
<?php
if (!empty($stock_locations) && count($stock_locations) > 1)
if (!empty($stock_locations) && count($stock_locations) > 2)
{
?>
<div class="form-group form-group-sm">