Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View latest transactions with specific payment method #92

Open
SilasPeters opened this issue Feb 2, 2024 · 0 comments
Open

View latest transactions with specific payment method #92

SilasPeters opened this issue Feb 2, 2024 · 0 comments
Labels
enhancement Proposes (changes to) a feature

Comments

@SilasPeters
Copy link
Member

The Commisioner(?) of Internal Affairs requested me to perform the following query:

SELECT checkout_transactions.price Prijs, checkout_transactions.updated_at Datum
FROM checkout_transactions
JOIN checkout_balances ON checkout_transactions.checkout_balance_id=checkout_balances.id
WHERE checkout_transactions.created_at > '2023-08-01' AND payment_method = 'Verkoop'

He also requested a similar query, where payment_method IS NULL (instead of payment_method = 'Verkoop'

I asked if he would like this to be a feature of Magnificent Sloth, and he said yes. This needs to be done every year.

Thus, this issue requests to be able to put this query behind a button or a nice overview, where you can select which year to inspect.

@SilasPeters SilasPeters added the enhancement Proposes (changes to) a feature label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Proposes (changes to) a feature
Projects
None yet
Development

No branches or pull requests

1 participant