I have a requirement to create a pos receipt dynamicaly(define in front end) as we do for pdf reports.
For that i have to define pos receipt template in front end(pos config), which is done.
Also i have fetched that template into pos interface on initial loading cache.
Now when i load the template from javascript its shown as blank.
So any one please help me to load the xml content of the receipt from javascript properly.