Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
commit
55c11d471e
2 files changed
+2
-2
No files matched your search
@@ -206,7 +206,7 @@ if($is_member && $send_cost > 0) {
|
||||
$dc = 0;
|
||||
if($cp['cp_id'] && ($cp['cp_minimum'] <= $tot_od_amount)) {
|
||||
if($cp['cp_type']) {
|
||||
$dc = floor(($tot_od_amount * ($cp['cp_amount'] / 100)) / $cp['cp_trunc']) * $cp['cp_trunc'];
|
||||
$dc = floor(($send_cost * ($cp['cp_amount'] / 100)) / $cp['cp_trunc']) * $cp['cp_trunc'];
|
||||
} else {
|
||||
$dc = $cp['cp_amount'];
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ if($is_member && $send_cost > 0) {
|
||||
$dc = 0;
|
||||
if($cp['cp_id'] && ($cp['cp_minimum'] <= $tot_od_amount)) {
|
||||
if($cp['cp_type']) {
|
||||
$dc = floor(($tot_od_amount * ($cp['cp_amount'] / 100)) / $cp['cp_trunc']) * $cp['cp_trunc'];
|
||||
$dc = floor(($send_cost * ($cp['cp_amount'] / 100)) / $cp['cp_trunc']) * $cp['cp_trunc'];
|
||||
} else {
|
||||
$dc = $cp['cp_amount'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user