Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048400
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-01-13 19:102022-01-21 09:10
Reportertimothee_catteeuwView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048400: JIRA 2600 - It's possible to pay twice a ticket and remove discounts from it

DescriptionIn TAP version it is possible to pay a ticket twice and remove discount from it.
It is just enough to open it and pay it again, cf use case below done on livebuild.

Steps To ReproduceGo to https://livebuilds.openbravo.com/retail_pos2_tap_pgsql/web/pos/?terminal=VBS-2 [^]

Go to WebPos as Vallblanca
Add Hiking boots and Balaclava Cap
Click on Hiking boots and then press discount
select disc_5_ var_perc discount and press apply
pay the transaction by cash

Go to Backoffice as Vallblanca user and open sales order window in order to open the previous sale
Go to payment plan tab and check outstanding which is equal to 0.00
And go to Payment details, as you can see one payment was done

Go back to WebPOS and open the transaction you have previously done
Amount of the transaction is 329.55 € and the discount is still present
But it is possible to pay --> it shouldn't be possible to pay again this ticket
And when you pay, the discount disappears and you can add another payment in cash (8.45 €) to the ticket
And then press "done"

Go to Backoffice as Vallblanca user and open sales order window in order to open the previous sale
Go to payment plan tab and check outstanding which is equal to -8.45
In payment details there is 2 payment lines instead of initially one
--> KO it is not normal to change a transaction like that after paying it during the first ticket
Proposed SolutionDeactivate the pay button when the ticket is completely paid and you open it
Or completely keep the same ticket (when included discount for example ) after switching to payment mode and don't save a new payment again (just print a duplicata, the ticket has not to be changed)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0048438TAP closedcberner JIRA 2600 - It's possible to pay twice a ticket and remove discounts from it 

-  Notes
(0134395)
jmelin (reporter)
2022-01-19 16:07

Another side effet on the same kind is it's duplicate menu component line.

For example, you have a return order with a menu that has 3 components

You open the return ticket, click on "Pay" then "Done"
=> a new message is sent to the BO that update the order

Now, your menu have 6 line menu order line for its components (2 of each initial components)
(0134459)
cberner (developer)
2022-01-21 09:09
edited on: 2022-01-21 09:09

This issue is already fixed in master/FS by the following fixed issue changesets: https://issues.openbravo.com/view.php?id=46701 [^]

Closing this one with no change necessary. Backport to TAP was done in another related issue.


- Issue History
Date Modified Username Field Change
2022-01-13 19:10 timothee_catteeuw New Issue
2022-01-13 19:10 timothee_catteeuw Assigned To => Retail
2022-01-13 19:10 timothee_catteeuw Triggers an Emergency Pack => No
2022-01-13 20:09 sntgreale Assigned To Retail => sntgreale
2022-01-13 20:09 sntgreale Status new => scheduled
2022-01-13 20:35 sntgreale Assigned To sntgreale => Retail
2022-01-13 20:35 sntgreale Status scheduled => acknowledged
2022-01-14 09:50 timothee_catteeuw Proposed Solution updated
2022-01-19 16:07 jmelin Note Added: 0134395
2022-01-19 16:47 cberner Assigned To Retail => cberner
2022-01-19 16:47 guilleaer Status acknowledged => scheduled
2022-01-19 16:47 guilleaer Target Version TAP =>
2022-01-21 09:09 cberner Note Added: 0134459
2022-01-21 09:09 cberner Note Edited: 0134459 View Revisions
2022-01-21 09:09 cberner Status scheduled => resolved
2022-01-21 09:09 cberner Resolution open => fixed
2022-01-21 09:10 cberner Review Assigned To => guilleaer
2022-01-21 09:10 cberner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker