Skip to content

Commit

Permalink
Käytetään tunnusta oikein
Browse files Browse the repository at this point in the history
  • Loading branch information
satuaalto committed Jan 12, 2018
1 parent 1810d73 commit a76b5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilauskasittely/otsik.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2223,7 +2223,7 @@ if ($tila == "" and !isset($jatka)) {

$disabled = '';

if ($yhtiorow['pakollinen_varasto'] == 'K' and !empty($srow['tunnus'])) {
if ($yhtiorow['pakollinen_varasto'] == 'K' and !empty($srow['tunnus']) and $srow_from == "LASKU") {
$query = "SELECT COUNT(*) AS tilausrivi_kpl
FROM tilausrivi
WHERE yhtio = '{$kukarow['yhtio']}'
Expand Down

0 comments on commit a76b5f5

Please sign in to comment.