I have an .htm file under the controller for example pluginname/controllers/order/_list_toolbal.htm.
The problem is that I don't have any idea how to get the value from the model specifically the switch so I can hide the button if the switch is disabled. How can I achieve this?
this is the code inside the file
<?php
?>
<button
data-request="onSync" class="btn btn-default oc-icon-recycle"
>
Quickbook Sync
</button>
<?php?>
Last updated