@@ 41-47 (lines=7) @@ | ||
38 | $data["page_title"] = "Recharge"; |
|
39 | ||
40 | $system_config = common_model::$global_config['system_config']; |
|
41 | if($system_config["paypal_mode"]==0){ |
|
42 | $data["paypal_url"] = $system_config["paypal_url"]; |
|
43 | $data["paypal_email_id"] = $system_config["paypal_id"]; |
|
44 | }else{ |
|
45 | $data["paypal_url"] = $system_config["paypal_sandbox_url"]; |
|
46 | $data["paypal_email_id"] = $system_config["paypal_sandbox_id"]; |
|
47 | } |
|
48 | $data["paypal_tax"] = $system_config["paypal_tax"]; |
|
49 | ||
50 | $data["from_currency"] = $this->common->get_field_name('currency', 'currency', $account_data["currency_id"]); |
@@ 285-291 (lines=7) @@ | ||
282 | } |
|
283 | ||
284 | $system_config = common_model::$global_config['system_config']; |
|
285 | if($system_config["paypal_mode"]==0){ |
|
286 | $data["paypal_url"] = $system_config["paypal_url"]; |
|
287 | $data["paypal_email_id"] = $system_config["paypal_id"]; |
|
288 | }else{ |
|
289 | $data["paypal_url"] = $system_config["paypal_sandbox_url"]; |
|
290 | $data["paypal_email_id"] = $system_config["paypal_sandbox_id"]; |
|
291 | } |
|
292 | $date = strtotime($result['invoice_date']); |
|
293 | $data['time'] = date("Y-m-d h:i:s ",$date); |
|
294 | $data["paypal_tax"] = $system_config["paypal_tax"]; |
|
@@ 419-425 (lines=7) @@ | ||
416 | } |
|
417 | ||
418 | $system_config = common_model::$global_config['system_config']; |
|
419 | if($system_config["paypal_mode"]==0){ |
|
420 | $data["paypal_url"] = $system_config["paypal_url"]; |
|
421 | $data["paypal_email_id"] = $system_config["paypal_id"]; |
|
422 | }else{ |
|
423 | $data["paypal_url"] = $system_config["paypal_sandbox_url"]; |
|
424 | $data["paypal_email_id"] = $system_config["paypal_sandbox_id"]; |
|
425 | } |
|
426 | $date = strtotime($result['invoice_date']); |
|
427 | $data['total_tax']=$total_tax; |
|
428 | $data['time'] = date("Y-m-d h:i:s ",$date); |
|
@@ 739-745 (lines=7) @@ | ||
736 | } |
|
737 | ||
738 | $system_config = common_model::$global_config['system_config']; |
|
739 | if($system_config["paypal_mode"]==0){ |
|
740 | $data["paypal_url"] = $system_config["paypal_url"]; |
|
741 | $data["paypal_email_id"] = $system_config["paypal_id"]; |
|
742 | }else{ |
|
743 | $data["paypal_url"] = $system_config["paypal_sandbox_url"]; |
|
744 | $data["paypal_email_id"] = $system_config["paypal_sandbox_id"]; |
|
745 | } |
|
746 | $date = strtotime($result['invoice_date']); |
|
747 | $data['time'] = date("Y-m-d h:i:s ",$date); |
|
748 | $data["paypal_tax"] = $system_config["paypal_tax"]; |