mirror of
https://github.com/spliit-app/spliit.git
synced 2025-12-06 01:19:29 +01:00
Add expense category 'Life/Donation' (#315)
* Add expense category 'Life/Donation' * Fix category name in migration --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
This commit is contained in:
@@ -357,6 +357,7 @@
|
||||
"heading": "Leben",
|
||||
"Childcare": "Kinderversorgung",
|
||||
"Clothing": "Kleidung",
|
||||
"Donation": "Spende",
|
||||
"Education": "Bildung",
|
||||
"Gifts": "Geschenke",
|
||||
"Insurance": "Versicherung",
|
||||
|
||||
@@ -358,6 +358,7 @@
|
||||
"heading": "Life",
|
||||
"Childcare": "Childcare",
|
||||
"Clothing": "Clothing",
|
||||
"Donation": "Donation",
|
||||
"Education": "Education",
|
||||
"Gifts": "Gifts",
|
||||
"Insurance": "Insurance",
|
||||
|
||||
10
package-lock.json
generated
10
package-lock.json
generated
@@ -38,7 +38,7 @@
|
||||
"content-disposition": "^0.5.4",
|
||||
"dayjs": "^1.11.10",
|
||||
"embla-carousel-react": "^8.0.0-rc21",
|
||||
"lucide-react": "^0.290.0",
|
||||
"lucide-react": "^0.501.0",
|
||||
"nanoid": "^5.0.4",
|
||||
"negotiator": "^0.6.3",
|
||||
"next": "^14.2.5",
|
||||
@@ -14602,12 +14602,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/lucide-react": {
|
||||
"version": "0.290.0",
|
||||
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.290.0.tgz",
|
||||
"integrity": "sha512-CBDPRLOPjdo+bVlxhaa7FVWaB8OrZZQ34mwm0Fsz9ut6JltN/Td55640ur8bRWSJuz6+nX2klKrpBpV7ktwD3Q==",
|
||||
"version": "0.501.0",
|
||||
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.501.0.tgz",
|
||||
"integrity": "sha512-E2KoyhW59fCb/yUbR3rbDer83fqn7a8NG91ZhIot2yWaPHjPyGzzsNKh40N//GezYShAuycf3TcQksRQznIsRw==",
|
||||
"license": "ISC",
|
||||
"peerDependencies": {
|
||||
"react": "^16.5.1 || ^17.0.0 || ^18.0.0"
|
||||
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/lz-string": {
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"content-disposition": "^0.5.4",
|
||||
"dayjs": "^1.11.10",
|
||||
"embla-carousel-react": "^8.0.0-rc21",
|
||||
"lucide-react": "^0.290.0",
|
||||
"lucide-react": "^0.501.0",
|
||||
"nanoid": "^5.0.4",
|
||||
"negotiator": "^0.6.3",
|
||||
"next": "^14.2.5",
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO "Category" ("id", "grouping", "name") VALUES (43, 'Life', 'Donation');
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
FerrisWheel,
|
||||
Fuel,
|
||||
Gift,
|
||||
HandHelping,
|
||||
Home,
|
||||
Hotel,
|
||||
Lamp,
|
||||
@@ -96,6 +97,8 @@ function getCategoryIcon(category: string): LucideIcon {
|
||||
return Baby
|
||||
case 'Life/Clothing':
|
||||
return Shirt
|
||||
case 'Life/Donation':
|
||||
return HandHelping
|
||||
case 'Life/Education':
|
||||
return LibraryBig
|
||||
case 'Life/Gifts':
|
||||
|
||||
Reference in New Issue
Block a user