Skip to content

Commit

Permalink
Migrate to Lens v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoginth committed Dec 9, 2024
1 parent 02276a1 commit af8fb77
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/invoice/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8167,6 +8167,7 @@ const accounts = [
"cobowallet",
"archerd"
];
const numberOfAccountsPerDay = accounts.length / 30;
// Only Update these values

const data: InvoiceData = {
Expand All @@ -8181,12 +8182,11 @@ const data: InvoiceData = {
country: "India"
},
client: {
company: "All Users",
company: `GSTIN: ${forYogi ? "29AYKPY4219R1Z8" : "29JZXPS2474H1Z6"}`,
address: "Consolidated Invoice for All Users",
country: "Worldwide"
zip: "Worldwide"
},
translate: { number: "Invoice Number" },
bottomNotice: `GSTIN: ${forYogi ? "29AYKPY4219R1Z8" : "29JZXPS2474H1Z6"}`,
settings: {
currency: "INR",
taxNotation: "GST",
Expand All @@ -8197,8 +8197,6 @@ const data: InvoiceData = {
}
};

const numberOfAccountsPerDay = accounts.length / 30;

const generateInvoice = async () => {
for (const invoiceNumber of Array.from({ length: 30 }, (_, i) => i + 1)) {
const accountsForThisInvoice = accounts.slice(
Expand Down

0 comments on commit af8fb77

Please sign in to comment.