Skip to content

Commit

Permalink
Monistetaessa ostotilauksia ei monisteta suuntalava-tietoa
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna-Maria Hagberg committed Apr 2, 2014
1 parent c69b85b commit a1a1aaa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions monistalasku.php
Expand Up @@ -1733,6 +1733,15 @@
$rvalues .= ", '".$rivirow[$i]."'";
}
break;
case 'suuntalava':
if ($toim == 'OSTOTILAUS') {
//ei kopsata suuntalavan tietoa aka must be 0!
$rvalues .= ", 0";
}
else {
$rvalues .= ", '".$rivirow[$i]."'";
}
break;
default:
$rvalues .= ", '".$rivirow[$i]."'";
}
Expand Down

0 comments on commit a1a1aaa

Please sign in to comment.