Skip to content

Commit

Permalink
[SHPWR-221] Only use Rate if there is no Payment Firstday
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnegretS committed Mar 28, 2017
1 parent d517c22 commit ae77200
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ class="piRpInput-button piRpContentSwitchInput ">
<input type="hidden" id="firstdaySwitch" value="1">
<?php
} else {
if (!$pi_config['payment_firstday'] || empty($pi_config['payment_firstday'])) {
$pi_config['payment_firstday'] = 28;
}
?>
<input type="hidden" id="paymentFirstday" value="<?php echo $pi_config['payment_firstday']; ?>">
<?php
Expand Down

0 comments on commit ae77200

Please sign in to comment.