How to customize js,html files in public folder without effecting core files?


how to add some new fields in pos payment window by adding custom script in custom app.

how to edit pos_payment html file without effecting core file

we can customize pages and doctype but here how can override js function and use it in custom app

any possibility to customize files in public folder without effecting core erpnext

Maybe this thread is of help when extending the POS:

You can add js and html files with any custom app and the link the using hooks.

for pages and doctype it is working perfectly
but this files are in public folder,not a page or doctype

After adding js files in, do bench update --build.

thank you for the reply.

kindly send a sample code when we update files in public folder using