Open AllesMeins opened 3 years ago
Hey,
You're not blind. Payment modes are hardcoded :grin:. I agree it would be nice to have customizable payment modes and...it's now there!
Such big changes are always hard to implement so a few concessions had to be made. The "old" payment modes are still there as hardcoded ones, no way to remove them (for the moment). This is to keep the compatibility with old MoneyBuster versions which only deal with old payment modes (string IDs instead of integer ones). Bills with new custom payment modes will appear with no payment mode in old MoneyBuster but hardcoded ones will be fine.
MoneyBuster was adapted to work with new custom payment modes. It will be released soon. It is still able to deal with old payment modes to keep the compatibility between new MoneyBuster and old Cospend.
In Cospend, this new feature was implemented by recycling/factorizing all the category stuff. So all category-related features are there for payment modes too:
There can still be a few bugs that were not caught by unit tests and my real life tests. It would be nice if someone could try this before next release.
You can try it with the latest nightly build (v1.3.13-5-nightly) which is compatible with NC >= 22 (sorry). You can manually download it from the appstore or install it with an occ command:
occ app:update --allow-unstable cospend
When you want to get back to normal releases, just disable and remove the app from app settings and reinstall it. You won't loose any data.
Wow, I guess this is what is called a "shadow drop" :-D Thank you for surprising me with such an solution. Unfortunately I'm still at NC 21 so I can't test it right away but it is good to know, that there is a solution coming...
Maybe I'm just blind but I really looked hard for a way to customize the payment-methods for my project (I'd like to distinguish between my credit- and debit card and between different online services) like you can customize the different categories. Is there really no option to edit the payment methods? Or is it just somewhere where I didn't look?
I'm using Nextcloud 21.0.3 and Cospend 1.3.7