This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from monishdeb/issue-6
Add ability to add line items to line item edit
- Loading branch information
Showing
12 changed files
with
984 additions
and
602 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* Collection of upgrade steps. | ||
*/ | ||
class CRM_Lineitemedit_Upgrader extends CRM_Lineitemedit_Upgrader_Base { | ||
|
||
/** | ||
* Example: Run an external SQL script when the module is installed. | ||
* | ||
*/ | ||
public function install() { | ||
CRM_Lineitemedit_Util::generatePriceField(); | ||
} | ||
|
||
/** | ||
* Example: Run a couple simple queries. | ||
* | ||
* @return TRUE on success | ||
* @throws Exception | ||
* | ||
*/ | ||
public function upgrade_2000() { | ||
$this->ctx->log->info('Applying update 2000'); | ||
CRM_Lineitemedit_Util::generatePriceField(); | ||
return TRUE; | ||
} | ||
|
||
} |
Oops, something went wrong.