View template

I made some changes to the template but it does not show changes only in preview
can anybody help?

If you only see your changes in preview, while in editing template mode, and not after you have created new sales invoice, you should change default template at the bottom of the Sales invoice entry form.