Skip to content

Comments

Add payment method field to expenses#451

Open
litlfrgyx wants to merge 1 commit intospliit-app:mainfrom
litlfrgyx:main
Open

Add payment method field to expenses#451
litlfrgyx wants to merge 1 commit intospliit-app:mainfrom
litlfrgyx:main

Conversation

@litlfrgyx
Copy link

@litlfrgyx litlfrgyx commented Nov 4, 2025

Description

This PR adds a payment method field to expenses, allowing users to track how each expense was paid (Cash, Card, PayPal, Bank Transfer, or Other).

Changes Made

  • Added paymentMethod field to Prisma schema
  • Created database migration for the new field
  • Updated TypeScript schemas to include payment method validation
  • Added payment method selector in expense create/edit form
  • Display payment method in expense list view
  • Updated API functions to save and retrieve payment method

Testing

  • Created new expenses with different payment methods
  • Verified payment method is saved and displayed correctly
  • Tested editing existing expenses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant