PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
builder
/
ecommerce
/
configuration
/
tax
<div class="form-group"> <label><?php $this->t('LBL_TAXES_NAME'); ?></label> <div class="controls"> <input type="text" ng-model="data.name" required /> </div> </div> <div class="form-group"> <label><?php $this->t('LBL_TAXES_APPLY_TO'); ?></label> <div class="controls"> <select ng-model="data.apply_to" class="field"> <option value="0">Subtotal</option> <option value="1">Subtotal + Shipping</option> </select> </div> </div> <div class="form-group"> <label><?php $this->t('LBL_TAXES_TAX_DEFINED_BY'); ?></label> <div class="controls"> <select ng-model="data.tax_defined_by" class="field"> <option value="0">Billing address</option> <option value="1">Shipping address</option> </select> </div> </div> <div class="form-group"> <div> <button class="btn btn-primary font-plus" ng-click="addTaxZone(data)"><?php $this->t('LBL_TAXES_ADD_TAX_ZONE'); ?></button> </div> <div class="grid_wrapper"> <table class="grid"> <thead> <tr> <th> <?php //$this->t('LBL_TAXES_TAX_ZONE_NAME'); ?> </th> <th> <?php $this->t('LBL_TAXES_TAX_ZONE_ZONE_NAME'); ?> </th> <th> <?php $this->t('LBL_TAXES_TAX_ZONE_SCALE'); ?> </th> <th></th> </tr> </thead> <tbody> <tr ng-repeat="item in data.tax_zones"> <td><input type="text" ng-model="item.name" style="display:none;" /></td> <td> <select ng-model="item.zone_id" required> <option ng-repeat="zone in zone_list" value="{{zone.id}}">{{zone.name}}</option> </select> </td> <td><input type="text" ng-model="item.rate" required /></td> <td><button class="font-trash btn btn-danger btn-xs" ng-click="deleteTaxZone($index)"></button></td> </tr> <tr> <td><input type="text" ng-model="item.name" required /></td> <td> Other zones </td> <td><input type="text" ng-model="data.other_zone_rate" required /></td> <td></td> </tr> </tbody> </table> </div> </div>
[+]
..
[-] edit.php
[edit]
[-] tax_rate.php
[edit]
[-] tax_class.php
[edit]