|
@@ -694,15 +694,16 @@ class Member
|
|
|
}
|
|
|
if($temp){
|
|
|
$total = sprintf ('%01.2f',$sell - max($temp));
|
|
|
+ }else{
|
|
|
+ $total = sprintf ('%01.2f',$sell);
|
|
|
}
|
|
|
} else {
|
|
|
$total = 0;
|
|
|
foreach ($info as $key => $val) {
|
|
|
$total += $val['total'];
|
|
|
}
|
|
|
+ $total = sprintf ('%01.2f',$total);
|
|
|
}
|
|
|
-
|
|
|
- $total = sprintf ('%01.2f',$sell);
|
|
|
|
|
|
return $total;
|
|
|
}
|