bavix / laravel-wallet

It's easy to work with a virtual wallet
https://bavix.github.io/laravel-wallet/
MIT License
1.14k stars 230 forks source link

Laravel Nova - Wallet recreation after updating user info from dashboard #658

Closed myounis97 closed 1 year ago

myounis97 commented 1 year ago

Describe the bug Whenever i click save on User Resource in Nova dashboard i receive an error message says duplicate entry for wallets table

To Reproduce Steps to reproduce the behavior:

  1. Open nova user's resource
  2. Click on edit
  3. Click save
  4. See error

Screenshots bug

Server:

rez1dent3 commented 1 year ago

Hello. I'll take a look during the week.

rez1dent3 commented 1 year ago

@myounis97 Hello. Yes, I reproduced the error. This is a feature of the package, when the balance is called, a default wallet is automatically created. In version 9.x, it definitely cannot be fixed, because I can break backward compatibility. I'll try to come up with something in the next version.

myounis97 commented 1 year ago

@rez1dent3 thanks

rez1dent3 commented 1 year ago

@myounis97 Hello. Long awaited release. v10.0.0

myounis97 commented 1 year ago

@rez1dent3 thanks for your efforts 🎉🎊