Skip to content

Commit

Permalink
Merge pull request #990 from compucorp/BTHAB-183
Browse files Browse the repository at this point in the history
BTHAB-183: Add deposit paid status for quotations
  • Loading branch information
shahrukh-compuco authored Oct 31, 2023
2 parents e251b61 + 6bfb8f2 commit 9f5501c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CRM/Civicase/Setup/Manage/CaseSalesOrderStatusManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ private function createSaleOrderStatus() {
'is_reserved' => TRUE,
]);

CRM_Core_BAO_OptionValue::ensureOptionValueExists([
'option_group_id' => self::SALE_ORDER_STATUS_NAME,
'name' => 'deposit_paid',
'label' => 'Deposit paid',
'is_active' => TRUE,
'is_reserved' => TRUE,
]);

CRM_Core_BAO_OptionValue::ensureOptionValueExists([
'option_group_id' => self::SALE_ORDER_STATUS_NAME,
'name' => 'declined',
Expand Down

0 comments on commit 9f5501c

Please sign in to comment.