Openbravo Issue Tracking System - POS2  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0050412 | POS2 | POS | public | 2022-10-04 19:23 | 2022-10-20 14:26 | 
  | 
| Reporter | gorka_gil |   | 
| Assigned To | Aaron_Alvarez |   | 
| Priority | normal | Severity | minor | Reproducibility | N/A | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version | 23Q1 |   | 
| Merge Request Status | approved | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0050412: Optional free products discounts with the flag gift reminder notification, should also be shown in featured discounts | 
| Description | Right now only are show if the application method of the discount is automatic, it should be also shown when is optional | 
| Steps To Reproduce | Create a new discount of free product: 
- Free Products per Total Amount 
- starting date: something before today 
- total receipt: 100 
- application method: optional 
- gift reminder notification 
 
Go to pos 
- refresh masterdata 
- add an avalanche(or something that is more than 100€) 
- click on pay 
 
ERROR: the discount is not show as available | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | feature request  | 0049961 |   | closed  | jorge-garcia  | Jira 886 - Gift on a minimum amount of ticket  |  | causes  | defect  | 0050893 |   | closed  | Aaron_Alvarez  | Optional discounts with giftNotification gives error when navigating to order discounts  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2022-10-04 19:23 | gorka_gil | New Issue |  | 
| 2022-10-04 19:23 | gorka_gil | Assigned To |  => gorka_gil | 
| 2022-10-04 19:23 | gorka_gil | OBNetwork customer |  => No | 
| 2022-10-04 19:23 | gorka_gil | Triggers an Emergency Pack |  => No | 
| 2022-10-04 19:23 | gorka_gil | Relationship added | related to 0049961 | 
| 2022-10-04 19:23 | gorka_gil | Assigned To | gorka_gil => Aaron_Alvarez | 
| 2022-10-04 19:27 | gorka_gil | Summary | Free products should be also shonw in optional discounts => Optional free products discounts with the flag gift reminder notification, should also be shown in optional discounts | 
| 2022-10-04 19:28 | gorka_gil | Summary | Optional free products discounts with the flag gift reminder notification, should also be shown in optional discounts => Optional free products discounts with the flag gift reminder notification, should also be shown in featured discounts | 
| 2022-10-17 17:26 | hgbot | Merge Request Status |  => open | 
| 2022-10-17 17:26 | hgbot | Note Added: 0142179 |  | 
| 2022-10-17 17:35 | hgbot | Note Added: 0142182 |  | 
| 2022-10-20 11:51 | hgbot | Note Added: 0142335 |  | 
| 2022-10-20 11:51 | hgbot | Merge Request Status | open => merged | 
| 2022-10-20 11:51 | hgbot | Note Added: 0142336 |  | 
| 2022-10-20 11:51 | hgbot | Merge Request Status | merged => approved | 
| 2022-10-20 11:51 | hgbot | Resolution | open => fixed | 
| 2022-10-20 11:51 | hgbot | Status | new => closed | 
| 2022-10-20 11:51 | hgbot | Fixed in Version |  => 23Q1 | 
| 2022-10-20 11:51 | hgbot | Note Added: 0142337 |  | 
| 2022-10-20 11:51 | hgbot | Note Added: 0142338 |  | 
| 2022-10-20 14:26 | hgbot | Note Added: 0142355 |  | 
| 2022-11-14 17:58 | Aaron_Alvarez | Relationship added | causes 0050893 | 
	| 
		Notes	 | 
	
		 
	 | 
	
		
		
			| 
				(0142179)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-17 17:26   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0142182)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-17 17:35   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0142335)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-20 11:51   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0142336)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-20 11:51   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0142337)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-20 11:51   
							 | 
		 
		 
	 | 
	
		
		
			
				Directly closing issue as related merge request is already approved. 
 
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] 
Changeset: 0725047418f157fd29ff16927243f25185c2a393 
Author: Aaron Alvarez <aaron.alvarez@openbravo.com> 
Date: 20-10-2022 09:51:06 
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0725047418f157fd29ff16927243f25185c2a393 [^] 
 
Fixed ISSUE-50412: Gift Reminder in  optional discounts 
 
--- 
M src-db/database/sourcedata/AD_FIELD.xml 
M web-jspack/org.openbravo.pos2/src/components/Discounts/OrderDiscount/OrderDiscountInfoCell/OrderDiscountInfoCell.jsx 
M web-jspack/org.openbravo.pos2/src/components/Discounts/shared/OptionalDiscountsUtils.js 
M web-jspack/org.openbravo.pos2/src/core/discount/GiftReminderNotification/__test__/giftReminderNotificationRuleImpls.test.js 
M web-jspack/org.openbravo.pos2/src/core/discount/GiftReminderNotification/getGiftReminderNotificationList.js 
M web-jspack/org.openbravo.pos2/src/core/discount/GiftReminderNotification/giftReminderNotificationRuleImpls.js 
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/SetFeaturedDiscountsIntoTicket.js 
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/SetFeaturedDiscountsIntoTicketActionPreparation.js 
--- 
			 | 
		 
		 
	 | 
	
		 
	 | 
	
		
		
			| 
				(0142338)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-20 11:51   
							 | 
		 
		 
	 | 
	
		
	 | 
	
		 
	 | 
	
		
		
			| 
				(0142355)
			 | 
		 
		
			| 
				hgbot   
			 | 
		 
		
			| 
				2022-10-20 14:26   
							 | 
		 
		 
	 | 
	
		
	 |