Star2Billing / a2billing

A2Billing is a telecom switch and billing system capable of providing and billing a range of telecom products and services to customers such as calling card products, residential and wholesale VoIP termination, DID resale and callback services.
www.asterisk2billing.org
Other
181 stars 174 forks source link

subscription fee #38

Closed goodarzi closed 11 years ago

goodarzi commented 11 years ago

a2billing_subscription_fee.php +177

           // paid : check if the system have to bill it again
            $unix_bill_time = strtotime($subscription['next_billing_date']);
            $unix_now = strtotime(date("d-m-Y"));
            if ($unix_now>=$unix_limit) {
                $action = "bill";

correct :

           // paid : check if the system have to bill it again
            $unix_bill_time = strtotime($subscription['next_billing_date']);
            $unix_now = strtotime(date("d-m-Y"));
            if ($unix_now>=$unix_bill_time) {
                $action = "bill";
areski commented 11 years ago

Thanks, fixed in d0a8e6f..a8300ab