This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!empty($settings->discountReplace->enable) && $product['id'] == $settings->discountReplace->productId && $transType == $settings->discountReplace->type) { | |
| $discounts = array( | |
| 'location' => $settings->discountReplace->location, | |
| 'division' => $settings->discountReplace->division, | |
| 'subdistributor' => $settings->discountReplace->subdistributor, | |
| 'distributor' => $settings->discountReplace->distributor | |
| ); | |
| } | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | |
| // BEGIN LOGIC TO ADD ACCOUNT | |
| try { | |
| $accountRes = self::createAccount($productDef, '1' . $phone, $productDef['apiServiceId'], $amount, true); | |
| } catch (Exception $e) { | |
| switch ($e->getCode()) { | |
| case XXXX: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Util_Svn | |
| { | |
| protected static $_revision; | |
| /** | |
| * Get the current SVN version at the application path folder | |
| * | |
| * @return string Revision Number |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Util_Lang | |
| { | |
| protected static $_class; | |
| protected static $_session; | |
| /** | |
| * Get a translated value and possibly replace with real time data | |
| * If the value does not exist, a phrase will be auto generated from key |
NewerOlder