Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(lago-668) - Manual payment #2006

Merged
merged 13 commits into from
Feb 18, 2025
Merged

feat(lago-668) - Manual payment #2006

merged 13 commits into from
Feb 18, 2025

Conversation

keellyp
Copy link
Collaborator

@keellyp keellyp commented Jan 30, 2025

Context

We want to introduce the concept of partial payment and record partial manual payment.

Description

This PR should:

  • create a new page /create/payment
  • add new payment tab across the app
  • display new Record payment button in the app
  • handle partial payment new status
  • handle refund of partial payment on credit notes

It also extracts Metadata from getInvoiceDetails query to avoid complexity issue.

Status: QA approved

Note: It's better to review commit by commit as each one is linked to an issue if you need more context.

Fixes LAGO-668

@keellyp keellyp self-assigned this Jan 30, 2025
@keellyp keellyp force-pushed the lago-668-manual-payment branch 12 times, most recently from 06ebf81 to 2d2ea9a Compare February 5, 2025 16:44
@keellyp keellyp force-pushed the lago-668-manual-payment branch 8 times, most recently from 6b9e65b to a4d4c09 Compare February 12, 2025 09:42
@keellyp keellyp marked this pull request as ready for review February 12, 2025 09:45
@keellyp keellyp force-pushed the lago-668-manual-payment branch 2 times, most recently from 9415ce1 to efa58dd Compare February 12, 2025 17:03
commit 678ae5f
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 10:58:44 2025 +0100

    fix: handle invoice type credit

commit 365bcc6
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 27 18:11:42 2025 +0100

    fix: use totalDueAmountCents instead of totalAmountCents

commit d9a2b37
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:21:43 2025 +0100

    fix: support errors

commit 47518da
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:02:14 2025 +0100

    fix: use params instead of state for invoiceId

commit 82bd199
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:01:48 2025 +0100

    feat: use datetime utility function

commit f3e6c4c
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 23 14:58:36 2025 +0100

    feat: handle pre-filled form with invoice id

commit 64aa466
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 21 18:35:14 2025 +0100

    feat: create payment page
commit 58ca739
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 10:39:51 2025 +0100

    fix: update empty states

commit e75b4f6
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 27 17:33:38 2025 +0100

    feat: build external urls

commit a0643ed
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Wed Jan 22 11:06:16 2025 +0100

    feat: connect back-end

commit 098eaba
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 20 17:30:42 2025 +0100

    feat: invoice payment with fake data

commit e97ff88
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 17 16:25:19 2025 +0100

    feat: customer payment with fake data

commit 2b9833a
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 16 17:12:50 2025 +0100

    feat: payment details page with fake data

commit bbdbe87
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 16 14:58:44 2025 +0100

    feat: add new payments list tab in invoices

commit 678ae5f
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 10:58:44 2025 +0100

    fix: handle invoice type credit

commit 365bcc6
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 27 18:11:42 2025 +0100

    fix: use totalDueAmountCents instead of totalAmountCents

commit d9a2b37
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:21:43 2025 +0100

    fix: support errors

commit 47518da
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:02:14 2025 +0100

    fix: use params instead of state for invoiceId

commit 82bd199
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:01:48 2025 +0100

    feat: use datetime utility function

commit f3e6c4c
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 23 14:58:36 2025 +0100

    feat: handle pre-filled form with invoice id

commit 64aa466
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 21 18:35:14 2025 +0100

    feat: create payment page
commit ed4d46e
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 15:29:31 2025 +0100

    feat: display partial payment in payment status

commit 98e6075
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 12:30:12 2025 +0100

    feat: add new lines in invoice table footer

commit 564d249
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 11:53:11 2025 +0100

    feat: display record payment CTA

commit 58ca739
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 10:39:51 2025 +0100

    fix: update empty states

commit e75b4f6
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 27 17:33:38 2025 +0100

    feat: build external urls

commit a0643ed
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Wed Jan 22 11:06:16 2025 +0100

    feat: connect back-end

commit 098eaba
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 20 17:30:42 2025 +0100

    feat: invoice payment with fake data

commit e97ff88
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 17 16:25:19 2025 +0100

    feat: customer payment with fake data

commit 2b9833a
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 16 17:12:50 2025 +0100

    feat: payment details page with fake data

commit bbdbe87
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 16 14:58:44 2025 +0100

    feat: add new payments list tab in invoices

commit 678ae5f
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 28 10:58:44 2025 +0100

    fix: handle invoice type credit

commit 365bcc6
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Mon Jan 27 18:11:42 2025 +0100

    fix: use totalDueAmountCents instead of totalAmountCents

commit d9a2b37
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:21:43 2025 +0100

    fix: support errors

commit 47518da
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:02:14 2025 +0100

    fix: use params instead of state for invoiceId

commit 82bd199
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Fri Jan 24 15:01:48 2025 +0100

    feat: use datetime utility function

commit f3e6c4c
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Thu Jan 23 14:58:36 2025 +0100

    feat: handle pre-filled form with invoice id

commit 64aa466
Author: Kelly Phan <keelly.p@gmail.com>
Date:   Tue Jan 21 18:35:14 2025 +0100

    feat: create payment page
@keellyp keellyp force-pushed the lago-668-manual-payment branch from efa58dd to 5bc7ee7 Compare February 18, 2025 14:58
@keellyp keellyp merged commit 6f96899 into main Feb 18, 2025
4 checks passed
@keellyp keellyp deleted the lago-668-manual-payment branch February 18, 2025 15:14
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.

2 participants