mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-05 12:16:13 +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",
|
"heading": "Leben",
|
||||||
"Childcare": "Kinderversorgung",
|
"Childcare": "Kinderversorgung",
|
||||||
"Clothing": "Kleidung",
|
"Clothing": "Kleidung",
|
||||||
|
"Donation": "Spende",
|
||||||
"Education": "Bildung",
|
"Education": "Bildung",
|
||||||
"Gifts": "Geschenke",
|
"Gifts": "Geschenke",
|
||||||
"Insurance": "Versicherung",
|
"Insurance": "Versicherung",
|
||||||
|
|||||||
@@ -358,6 +358,7 @@
|
|||||||
"heading": "Life",
|
"heading": "Life",
|
||||||
"Childcare": "Childcare",
|
"Childcare": "Childcare",
|
||||||
"Clothing": "Clothing",
|
"Clothing": "Clothing",
|
||||||
|
"Donation": "Donation",
|
||||||
"Education": "Education",
|
"Education": "Education",
|
||||||
"Gifts": "Gifts",
|
"Gifts": "Gifts",
|
||||||
"Insurance": "Insurance",
|
"Insurance": "Insurance",
|
||||||
|
|||||||
10
package-lock.json
generated
10
package-lock.json
generated
@@ -38,7 +38,7 @@
|
|||||||
"content-disposition": "^0.5.4",
|
"content-disposition": "^0.5.4",
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.10",
|
||||||
"embla-carousel-react": "^8.0.0-rc21",
|
"embla-carousel-react": "^8.0.0-rc21",
|
||||||
"lucide-react": "^0.290.0",
|
"lucide-react": "^0.501.0",
|
||||||
"nanoid": "^5.0.4",
|
"nanoid": "^5.0.4",
|
||||||
"negotiator": "^0.6.3",
|
"negotiator": "^0.6.3",
|
||||||
"next": "^14.2.5",
|
"next": "^14.2.5",
|
||||||
@@ -14602,12 +14602,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lucide-react": {
|
"node_modules/lucide-react": {
|
||||||
"version": "0.290.0",
|
"version": "0.501.0",
|
||||||
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.290.0.tgz",
|
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.501.0.tgz",
|
||||||
"integrity": "sha512-CBDPRLOPjdo+bVlxhaa7FVWaB8OrZZQ34mwm0Fsz9ut6JltN/Td55640ur8bRWSJuz6+nX2klKrpBpV7ktwD3Q==",
|
"integrity": "sha512-E2KoyhW59fCb/yUbR3rbDer83fqn7a8NG91ZhIot2yWaPHjPyGzzsNKh40N//GezYShAuycf3TcQksRQznIsRw==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"peerDependencies": {
|
"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": {
|
"node_modules/lz-string": {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
"content-disposition": "^0.5.4",
|
"content-disposition": "^0.5.4",
|
||||||
"dayjs": "^1.11.10",
|
"dayjs": "^1.11.10",
|
||||||
"embla-carousel-react": "^8.0.0-rc21",
|
"embla-carousel-react": "^8.0.0-rc21",
|
||||||
"lucide-react": "^0.290.0",
|
"lucide-react": "^0.501.0",
|
||||||
"nanoid": "^5.0.4",
|
"nanoid": "^5.0.4",
|
||||||
"negotiator": "^0.6.3",
|
"negotiator": "^0.6.3",
|
||||||
"next": "^14.2.5",
|
"next": "^14.2.5",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
INSERT INTO "Category" ("id", "grouping", "name") VALUES (43, 'Life', 'Donation');
|
||||||
@@ -16,6 +16,7 @@ import {
|
|||||||
FerrisWheel,
|
FerrisWheel,
|
||||||
Fuel,
|
Fuel,
|
||||||
Gift,
|
Gift,
|
||||||
|
HandHelping,
|
||||||
Home,
|
Home,
|
||||||
Hotel,
|
Hotel,
|
||||||
Lamp,
|
Lamp,
|
||||||
@@ -96,6 +97,8 @@ function getCategoryIcon(category: string): LucideIcon {
|
|||||||
return Baby
|
return Baby
|
||||||
case 'Life/Clothing':
|
case 'Life/Clothing':
|
||||||
return Shirt
|
return Shirt
|
||||||
|
case 'Life/Donation':
|
||||||
|
return HandHelping
|
||||||
case 'Life/Education':
|
case 'Life/Education':
|
||||||
return LibraryBig
|
return LibraryBig
|
||||||
case 'Life/Gifts':
|
case 'Life/Gifts':
|
||||||
|
|||||||
Reference in New Issue
Block a user