[Bug]: Unsuspend sales reward points deduct
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start by tracing the sales suspend, unsuspend, and cancel flows alongside the handling of customer reward points; the issue does not name files or tests. Reproduce the listed steps, including canceling after unsuspending, and verify that the points are refunded when the sale is canceled.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🐛 Bug Description
When i suspend a sale with customer reward point in add payment list that subtract from customer reward point, When i unsuspend and cancel sales, after that reward point lost and not refunded.
Previously discussed on #4178
📋 Steps to Reproduce
- Go to Sales.
- Add Rewards Points available Customer.
- Add any item that value bellow rewards points.
- Suspend Sales.
- Unsuspend Sales.
✅ Expected Behavior
After cancel sales the reward point will be refunded.
📦 OpenSourcePOS Version
OpenSourcePOS 3.4.2
🔧 PHP Version
PHP 8.3
🌐 Browser(s)
Firefox
🖥️ Server Operating System
Microsoft Windows Server 2019, Wamp Server
🗄️ Database
MySQL 9.5.0, MariaDB 12.0.2
🌍 Web Server
Apache/2.4.65 (Win64)
📊 System Information Report
OSPOS Installation Info: 3.4.2 - 84aeeb
Language Code: en
Extensions & Modules:
» GD: Enabled ✓
» BC Math: Enabled ✓
» INTL: Enabled ✓
» OpenSSL: Enabled ✓
» MBString: Enabled ✓
» Curl: Enabled ✓
» Json: Enabled ✓
» Xml: Enabled ✓
User Configuration:
.Browser: Firefox 153.0
Server Software: Apache/2.4.65 (Win64) PHP/8.3.14 mod_fcgid/2.3.10-dev
PHP Version: 8.3.14
DB Version: 9.5.0
Server Port: 80
OS: Windows NT 10.0
File Permissions:
» [writable/logs:] - 0777 | Writable ✓ | Vulnerable or Incorrect Permissions ✗
» [public/uploads:] - 0777 | Writable ✓ | Vulnerable or Incorrect Permissions ✗
» [public/uploads/item_pics:] - 0777 | Writable ✓ | Vulnerable or Incorrect Permissions ✗
» [importCustomers.csv:] - 0666 | Readable ✓ | Vulnerable or Incorrect Permissions ✗
Security Vulnerability Warning
Incorrect permissions leaves this software at risk.
» [writable/logs:] is writable, but the permissions are incorrectly set. Please set it to 750 and refresh.
» [writable/uploads:] is writable, but the permissions are incorrectly set. Please set it to 750 and refresh.
» [writable/uploads/item_pics:] is writable, but the permissions are incorrectly set. Please set it to 750 and refresh.
» [importCustomers.csv:] is readable, but the permissions are incorrectly set. Please set it to 640 or 660 and refresh.
📜 Relevant Log Output
📸 Screenshots
✓ Confirmation
- I certify that this is an unmodified copy of OpenSourcePOS
- I have searched existing issues to ensure this bug has not already been reported
- I have provided all the information requested above
- Lingua principale
- PHP
- Stelle
- 4.4k
- Fork
- 2.6k
- Merge medio
- 3g 8h
- PR unite (30g)
- 28
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opensourcepos/opensourcepos
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opensourcepos/opensourcepos#4743 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opensourcepos/opensourcepos#4665 ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement needs owner question
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
opensourcepos/opensourcepos#3565 · 5 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
opensourcepos/opensourcepos#4739 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
opensourcepos/opensourcepos#4738 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di opensourcepos/opensourcepos
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hawk-digital-environments/HAWKI#443 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100