RTL support for InvoicePlane

Dear Kovah
Thanks for your complete and good script.
I have done some changes in the CSS and changed the script to RTL for persian language.
I have done all and only the issue is in date where I want to use datepicker.
I have the php functions to change the gregorian date to jalali date but only in datepicker I don’t know where to put my datepicker? can you kindly guide me? I can also help in persian development and have an Idea to change the direction and settings when a RTL language chosen.
my email is najafi.k@gmail.com