Skip to content

Commit

Permalink
BTHAB-183: Add deposit paid status for quotations
Browse files Browse the repository at this point in the history
  • Loading branch information
shahrukh-compuco committed Oct 30, 2023
1 parent e251b61 commit 6bfb8f2
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 6bfb8f2

Please sign in to comment.