Identified bug in phtml logic where a Sales Order that has yet to be synced or fails to sync, but has reached a syncable status will not render the necessary JS to manual sync order to TaxJar
Description
Moves PHP endif before JS script tag open so JS will render whether order has been synced or not.
Performance
Break/fix
Testing
Create sales order with TJ module disabled
Enable TJ module
Navigate to sales order
Click "Sync to TaxJar" button in actions panel, order is synced
Versions
[x] Magento 2.4
[ ] Magento 2.3
[X] Magento Open Source (formerly Magento 2 Community Edition)
Context
Identified bug in phtml logic where a Sales Order that has yet to be synced or fails to sync, but has reached a syncable status will not render the necessary JS to manual sync order to TaxJar
Description
Moves PHP
endif
before JS script tag open so JS will render whether order has been synced or not.Performance
Break/fix
Testing
Versions