Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Unsuspend sales reward points deduct

Aperta
#4,579 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
php
Ambito
backend

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
🐛 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
  1. Go to Sales.
  2. Add Rewards Points available Customer.
  3. Add any item that value bellow rewards points.
  4. Suspend Sales.
  5. 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
Image
✓ 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opensourcepos/opensourcepos

Tutte le issue di opensourcepos/opensourcepos

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.