Imported extensions will always sync with how they are defined in global repository. I have some ideas to make this more obvious and make it more difficult to edit them. It still needs to be possible to edit them in case you are improving them for everyone and submitting your changes to global repository.
If you create custom extension, your edits won’t be lost.
The question is, what is wrong with the current extension that requires you to fix it.
Ok, till you complete the QR code extension I can not say there is something wrong.
I made no corrections but just some edits like make the total amount “ Total amount Incl. VAT” and the VAT amount “ Include VAT Amount 5% or 15%” and make the total amount incl.VAT before VAT amount .
Also I was trying to make the QR everywhere and show the payee or customer or supplier name and VAT ID.
@Ehab, I mean no disrespect. But, you said you know nothing about coding. If that is the case, I believe you are going to experience repeated disappointment if you try to do what you are doing yourself. Extensions are not meant to be used by novices.
Let us see the good in your words, I respect and appreciate you.
I’m not a novice, I just “do not know” and that doesn’t mean I can’t learn. Simple things like what I did - arrange the result - to suit me you do not even need the novice skills to do, I’ve succeeded to do and all the code is still under improvement that supports me to join trying to give any help.
Now I need your help, Does the QR code gives you result in sales invoice without editing the code? if yes, I think there is something wrong on my side and I will try to reimport the code.
This is a great approach to expanding the functionality of the program. In addition to the template language Liquid, we now have the ability to process code and implement our own tasks using JavaScript. It’s very professional. Thank you very much for this opportunity.
QR extension is currently under work as the developer announced, I don’t know codding but I know a simple edit to the QR extension code at least it would give you a result on your invoice, If you replaced part of (‘ // ‘) by (‘\n’).
Dear @lubos,
The QR code is not generated correctly on the tax invoice if a tax rate that has a custom title for the sales invoice is used. Is this the correct result from the QR extension or it will be fixed?
All my Tax Invoices do not generate QR Correctly.
I remember that when I imported the QR extension for the first time I’ve imported all Saudi Arabia localization available too, then my tax rate 15% changed to 5%, and vice versa, so I had to edit the tax rate to restore the previously calculated amount in all my invoices.
I’ve created a new QR extension and selected it to show everywhere instead of Sales Invoices only, now that generated the QR in all other views like Purchase Invoice or Purchase Quotes even Journal entry but not in any view related to Sales like Invoices or Quotes.
Now I’m sure my mistake happened when I forced the imported Tax Rates from Saudi Arabia Localization to calculate the tax payable in the customized account (TAX PAYABLE ACCOUNT - CUSTOMIZED) instead of the builtin tax payable account, I did that by a batch update for the tax rates.
How I can fix that to make the imported QR extension work?
Now, I can see the QR information on my invoice if I moved the mouse on the QR area - customized QR - but I can’t see the generated thumb like this screen.
That shouldn’t have happened. @lubos, could you please change the default behavior to create new tax codes and inactivate all the previous ones. Because this method forces errors onto the user that:
Could go unnoticed, which is the most dangerous thing on this list.
Changes historical data since day 1 of Manager use.
Are extremely costly to fix if you have lots of transactions before importing localizations
Will definitely mess up any unusual setup users might’ve made prior to localizations and this could throw everything out of gear.
Simply avoidable. We have the ability to inactivate previous tax codes, right? so why not use it?
Also, localizations shouldn’t be available until the localization team declares them ok for use.
@Ealfardan what @Ehab describes is about previous implementation of localizations and this is no longer possible to happen with new implementation. That’s why I have worked to introduce completely new system based on what I’ve learned from the old one.
thanks may friend for answering ,
by the way i did custom code and it is working well with custom theme display and read but in normal , but the QR Code should be encoding base64 and here is my problem,
do you have any idea
As informed earlier the qr code was developed for use with the default plain theme only. The support for other themes and custom themes is not yet implemented.
It’s highly important to run QR on customized themes, as most of the users are using the customized themes for many important reasons maybe not a mandatory governmental requirement but a mandatory requirement for the business.
again and again, we are asking @lubos for this feature soon. we trust him he will solve our problems correctly but the time is very important instead of resorting to temporary solutions, which will certainly lead us to many problems with authorities later.