2
0
mirror of https://github.com/frappe/books.git synced 2024-11-12 16:36:27 +00:00

fix: printTemplates not syning to db on file content changes

This commit is contained in:
akshayitzme 2024-10-16 10:24:51 +05:30
parent 8443a41973
commit 93b02b2d4f

View File

@ -439,7 +439,7 @@ function getPrintTemplateUpdateList(
for (const { name, type } of getNameAndTypeFromTemplateFile(file, fyo)) {
const fileModified = nameModifiedMap[name];
if (fileModified && dbModified.valueOf() >= fileModified.valueOf()) {
if (fileModified && dbModified.valueOf() <= fileModified.valueOf()) {
continue;
}