PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
builder
/
ecommerce
/
promotion
<div st-grid="gridOptions" st-grid-row-button="RowButtonClickHandler" path="ecommerce.promotion.discount" st-grid-name="product_discounts" class="grid"> <st-grid-button class="btn btn-primary font-plus" display-name="<?php $this->t('LBL_ADD_COUPON'); ?>" click="add()"></st-grid-button> <st-grid-button class="btn btn-danger font-trash" display-name="<?php $this->t('LBL_PRODUCT_DELETE_PRODUCT'); ?>" click="delete()"></st-grid-button> <st-grid-column field="name" display_name="<?php $this->t('LBL_DISCOUNT_NAME'); ?>"></st-grid-column> <st-grid-column field="type" cell-template="<div>{'{grid.appScope.$parent.showType(row.entity.type)}'}</div>" display_name="<?php $this->t('LBL_DISCOUNT_TYPE'); ?>"></st-grid-column> <st-grid-column field="expired_date" cell-template="<div>{'{grid.appScope.showDate(row,row.entity.expired_date)}'}</div>" display_name="<?php $this->t('LBL_COUPON_EXPIRED_DATE'); ?>"></st-grid-column> <st-grid-column field="is_active" cell-template="<div>{'{grid.appScope.$parent.showStatus(row.entity.status)}'}</div>" display_name="<?php $this->t('LBL_COUPON_IS_ACTIVE'); ?>" value-field="0" display_field="1" type="manuallist" list='[[0,"<?php $this->t('LBL_COUPON_INACTIVE') ?>"],[1,"<?php $this->t('LBL_COUPON_ACTIVE') ?>"]]'></st-grid-column> <st-grid-column field="date_added" display_name="<?php $this->t('LBL_CMS_CONTENT_DATE_ADDED') ?>" cell-template="<div>{'{grid.appScope.showDate(row.entity.date_added)}'}</div>"></st-grid-column> <st-grid-column-button st-class="btn btn-primary font-pencil" ng-click="edit"></st-grid-column-button> <st-grid-column-button st-class="btn btn-danger font-trash" ng-click="delete"></st-grid-column-button> </div>
[+]
..
[-] coupon.php
[edit]
[-] mail.php
[edit]
[-] discount.php
[edit]