bavix / laravel-wallet

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

Is there a way to get all transactions from a particular user? #339

Closed alilakrakbi closed 3 years ago

alilakrakbi commented 3 years ago

I need to show to the user his last transaction, and the time they were done? is there a way to pull the data?

I have checked the database and there is a uuid but there is no way to identify the user from the uuid?

rez1dent3 commented 3 years ago

Hello. The package does not have a binding to the user, it has a binding to the wallet and the owner of the wallet (can be any object).

See: https://github.com/bavix/laravel-wallet/issues/334, https://github.com/bavix/laravel-wallet/issues/198, https://github.com/bavix/laravel-wallet/issues/191, https://github.com/bavix/laravel-wallet/issues/187

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity.

alexstewartja commented 3 years ago

Hello. The package does not have a binding to the user, it has a binding to the wallet and the owner of the wallet (can be any object).

See: #334, #198, #191, #187

I think we can all agree this feature now requires a PR.

A transaction ledger is a 1st class citizen in laravel-wallet-plus, however that package is on the edge of being unmaintained.

Are you working on adding it @rez1dent3 ?

rez1dent3 commented 3 years ago

@alexstewartja The package stores all transactions. I do not understand what feature you are talking about