Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20 from monishdeb/issue-6
Browse files Browse the repository at this point in the history
Add ability to add line items to line item edit
  • Loading branch information
monishdeb authored Sep 16, 2018
2 parents 454855f + 3ac52ac commit 9578151
Show file tree
Hide file tree
Showing 12 changed files with 984 additions and 602 deletions.
200 changes: 0 additions & 200 deletions CRM/Lineitemedit/Form/Add.php

This file was deleted.

29 changes: 29 additions & 0 deletions CRM/Lineitemedit/Upgrader.php
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;
}

}
Loading

0 comments on commit 9578151

Please sign in to comment.