Skip to content

Refactor: Draft Invoice move to CustomerViewSet#675

Merged
diego-escobedo merged 6 commits intouselotus:aashish/move-draft-invoicefrom
Aashish-Upadhyay-101:aashish/draft_invoice-refactoring
Mar 15, 2023
Merged

Refactor: Draft Invoice move to CustomerViewSet#675
diego-escobedo merged 6 commits intouselotus:aashish/move-draft-invoicefrom
Aashish-Upadhyay-101:aashish/draft_invoice-refactoring

Conversation

@Aashish-Upadhyay-101
Copy link
Copy Markdown
Contributor

No description provided.

@mnida
Copy link
Copy Markdown
Collaborator

mnida commented Mar 13, 2023

After review, merge this into a new branch so tests can run correctly

Copy link
Copy Markdown
Collaborator

@diego-escobedo diego-escobedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to see the path for draft invoice changed in the draft invoices tests, plus need to get rid of the old method. Additionally, a loom with the working draft invoice functionality (navigating to customer > subscriptions page in the frontend) would be great

import "./CopytoClipboard.css";
import { Tooltip } from "antd";
import Prism from "prismjs";
// import Prism from "prismjs";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this commented out?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is throwing me some frontend issue so i decided to comment it out !

Comment thread backend/api/views.py
CustomerDeleteResponseSerializer().validate(return_data)
return Response(return_data, status=status.HTTP_200_OK)

@extend_schema(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need to get rid of the other method.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean the old draft_invoice?

@diego-escobedo diego-escobedo merged commit 6398370 into uselotus:aashish/move-draft-invoice Mar 15, 2023
@Aashish-Upadhyay-101 Aashish-Upadhyay-101 deleted the aashish/draft_invoice-refactoring branch March 15, 2023 03:12
diego-escobedo added a commit that referenced this pull request Mar 15, 2023
Co-authored-by: Aashish Upadhyay <81024263+Aashish-Upadhyay-101@users.noreply.github.com>
glamboyosa pushed a commit that referenced this pull request Mar 16, 2023
Co-authored-by: Aashish Upadhyay <81024263+Aashish-Upadhyay-101@users.noreply.github.com>
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.

3 participants