Ivy-Apps / ivy-wallet

Ivy Wallet is an open-source money manager app for android that you can either build or download from Google Play.
https://play.google.com/store/apps/details?id=com.ivy.wallet
GNU General Public License v3.0
2.69k stars 627 forks source link

[FEATURE] Add the possibility to set accounts to a negative value when directly adjusting the current balance #2907

Open Dantxo9 opened 8 months ago

Dantxo9 commented 8 months ago

Please confirm the following:

What do you want to be added or improved?

As a user I want to be able to treat some accounts as "Credit Card" accounts, which means they will have a negative balance. If I miss a couple expenses, it would be perfect to be able to directly set the balance of an account as a negative one to match the actual account balance. At the moment this can only be done adding an extra expense with the difference between Ivy Wallet balance and real balance. This involves doing maths separatedly, as the integrated calculator won´t allow the result to be a negative one either.

Why do you need it?

How do you imagine it?

I guess adding a "-" button on the keyboard to add amounts, but I understand this may bring some issues to the actual expenses, as this means you´d be able to create "negative" expenses or negative incomes. Maybe the accounts can be set as Basic Account or Credit Account, which means credit accounts are always shown as negative?

ivywallet commented 8 months ago

Thank you @Dantxo9 for raising Issue #2907! 🚀 What's next? Read our Contribution Guidelines 📚.

Tagging @ILIYANGERMANOV for review & approval 👀

YatinGarg07 commented 8 months ago

I'm on it. Assign this issue to me.

ivywallet commented 8 months ago

Thank you for your interest @YatinGarg07! 🎉 Issue #2907 is assigned to you. You can work on it! ✅

If you don't want to work on it now, please un-assign yourself so other contributors can take it.

Also, make sure to read our Contribution Guidelines.

YatinGarg07 commented 8 months ago

I cannot run compose preview with ivy design system. can anyone tell me how can i use compose preview with this project?

Getting this error Render problem: java.lang.ClassNotFoundException: com.ivy.design.system.IvyMaterial3ThemeKt

ILIYANGERMANOV commented 8 months ago

I cannot run compose preview with ivy design system. can anyone tell me how can i use compose preview with this project?

Getting this error Render problem: java.lang.ClassNotFoundException: com.ivy.design.system.IvyMaterial3ThemeKt

Yeah, it's broken - can you try to fix it? It's probably some missing CompositionLocal

YatinGarg07 commented 8 months ago

@ILIYANGERMANOV can you provide me some documentation on how to work with custom design systems

ILIYANGERMANOV commented 8 months ago

@YatinGarg07 idk, search on Google or ask ChatGPT they'll be more helpful than me 😄