mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Removed extra indentation layer
This commit is contained in:
parent
65c4faf135
commit
94c350195c
@ -62,8 +62,11 @@ const IGST = {
|
||||
export async function generateGstr1Json(report, { transferType, toDate }) {
|
||||
const printSettings = await frappe.getSingle('PrintSettings');
|
||||
|
||||
if (!printSettings.gstin) promptWhenGstUnavailable();
|
||||
else {
|
||||
if (!printSettings.gstin) {
|
||||
promptWhenGstUnavailable();
|
||||
return;
|
||||
}
|
||||
|
||||
const savePath = await getSavePath();
|
||||
if (!savePath) return;
|
||||
|
||||
@ -90,7 +93,6 @@ export async function generateGstr1Json(report, { transferType, toDate }) {
|
||||
const jsonData = JSON.stringify(gstData);
|
||||
makeJSON(jsonData, savePath);
|
||||
}
|
||||
}
|
||||
|
||||
async function getB2bData(invoices) {
|
||||
const b2b = [];
|
||||
|
Loading…
Reference in New Issue
Block a user