mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-11 18:38:08 -04:00
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user