mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Fixed dropdown CSS, removed sleep, renamed state label for India
This commit is contained in:
parent
3f157f2d6c
commit
d6aa958537
@ -1,6 +1,6 @@
|
|||||||
import { showMessageDialog } from '@/utils';
|
import { showMessageDialog } from '@/utils';
|
||||||
import frappe from 'frappejs';
|
import frappe from 'frappejs';
|
||||||
import { sleep, _ } from 'frappejs/utils';
|
import { _ } from 'frappejs/utils';
|
||||||
import { DateTime } from 'luxon';
|
import { DateTime } from 'luxon';
|
||||||
import { saveExportData } from '../reports/commonExporter';
|
import { saveExportData } from '../reports/commonExporter';
|
||||||
import { getSavePath } from '../src/utils';
|
import { getSavePath } from '../src/utils';
|
||||||
@ -120,7 +120,6 @@ export async function generateGstr1Json(getReportData) {
|
|||||||
gstData.b2cs = await generateB2csData(rows);
|
gstData.b2cs = await generateB2csData(rows);
|
||||||
}
|
}
|
||||||
|
|
||||||
await sleep(1);
|
|
||||||
const jsonData = JSON.stringify(gstData);
|
const jsonData = JSON.stringify(gstData);
|
||||||
await saveExportData(jsonData, filePath);
|
await saveExportData(jsonData, filePath);
|
||||||
}
|
}
|
||||||
|
@ -16,9 +16,9 @@ export default function getAugmentedAddress({ country }) {
|
|||||||
...Address.fields.slice(0, cityFieldIndex + 1),
|
...Address.fields.slice(0, cityFieldIndex + 1),
|
||||||
{
|
{
|
||||||
fieldname: 'state',
|
fieldname: 'state',
|
||||||
label: 'State',
|
label: 'State / UT',
|
||||||
fieldtype: 'Select',
|
fieldtype: 'Select',
|
||||||
placeholder: 'State',
|
placeholder: 'State / UT',
|
||||||
options: Object.keys(stateCodeMap).map((key) => capitalize(key)),
|
options: Object.keys(stateCodeMap).map((key) => capitalize(key)),
|
||||||
},
|
},
|
||||||
...Address.fields.slice(cityFieldIndex + 1, Address.fields.length),
|
...Address.fields.slice(cityFieldIndex + 1, Address.fields.length),
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
v-for="option in options"
|
v-for="option in options"
|
||||||
:key="option.value"
|
:key="option.value"
|
||||||
:value="option.value"
|
:value="option.value"
|
||||||
|
class="text-black"
|
||||||
>
|
>
|
||||||
{{ option.label }}
|
{{ option.label }}
|
||||||
</option>
|
</option>
|
||||||
|
Loading…
Reference in New Issue
Block a user