PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
builder
/
popup
<form ng-model="data.form" novalidate> <div class="modal-body" fix-body-height> <div class="col-md-9"> <div class=""> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_DISCOUNT_NAME'); ?> </label> <div class="controls"> <input type="text" class="form-control" ng-model="data.name"> </div> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_DISCOUNT_TYPE'); ?> </label> </div> <div class="form-group"> <label class="control-label"> <label><input type="radio" value="1" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_BUY_X_FREE_SHIPPING'); ?></label> </label> <div class="" ng-hide="data.type!=1"> <?php $input1= '<input type="text" class="number required" ng-model="data.i_amount">'; $input2= '<a href="javascript:void(0);" ng-click="selectProduct()">{{product.name}}</a>'; $format = $this->term('LBL_DISCOUNT_BUY_X_FREE_SHIPPING_AMOUNT'); echo sprintf($format, $input1, $input2); ?> </div> </div> <div class="form-group"> <label><input type="radio" value="2" name="type" ng-model="data.type" /> <?php $this->t('LBL_DISCOUNT_FREE_SHIPPING_TOTAL_AMOUNT'); ?> </label> <div class="dc dc_2" ng-hide="data.type!=2"> <div class="form-group"> <?php $input1 = '<div class="input-group input-group-inline">'. '<div class="input-group-addon" ng-hide="curr_symbol_left==\'\'">'. '<span class="curr_symbol_left">{{curr_symbol_left}}</span>'. '</div>'. '<input type="text" class="form-control" required number ng-model="data.amount">'. '<div class="input-group-addon" ng-hide="curr_symbol_right==\'\'">'. '<span class="curr_symbol_right">{{curr_symbol_right}}</span>'. '</div>'. '</div>'; $format = $this->term('LBL_DISCOUNT_FREE_SHIPPING_TOTAL_AMOUNT_AMOUNT'); echo sprintf($format, $input1); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="3" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_AMOUNT_OFF_TOTAL_AMOUNT'); ?></label> <div class="dc dc_3" ng-hide="data.type!=3"> <div class="form-group"> <?php $input1 = '<div class="input-group input-group-inline">'. '<div class="input-group-addon" ng-hide="curr_symbol_left==\'\'">'. '<span class="curr_symbol_left">{{curr_symbol_left}}</span>'. '</div>'. '<input type="text" class="form-control" required number ng-model="data.amount">'. '<div class="input-group-addon" ng-hide="curr_symbol_right==\'\'">'. '<span class="curr_symbol_right">{{curr_symbol_right}}</span>'. '</div>'. '</div>'; $input2 = '<div class="input-group input-group-inline">'. '<div class="input-group-addon" ng-hide="curr_symbol_left==\'\'">'. '<span class="curr_symbol_left">{{curr_symbol_left}}</span>'. '</div>'. '<input type="text" class="form-control" required number ng-model="data.amount_off">'. '<div class="input-group-addon" ng-hide="curr_symbol_right==\'\'">'. '<span class="curr_symbol_right">{{curr_symbol_right}}</span>'. '</div>'. '</div>'; $format = $this->term('LBL_DISCOUNT_AMOUNT_OFF_TOTAL_AMOUNT_DESCRIPTION'); echo sprintf($format, $input1,$input2); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="4" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_AMOUNT_OFF_REPEAT_CUSTOMER'); ?></label> <div class="dc dc_4" ng-hide="data.type!=4"> <div class="form-group"> <?php $input1 = '<input type="text" required number ng-model="data.i_amount">'; $input2 = '<div class="input-group input-group-inline">'. '<div class="input-group-addon" ng-hide="curr_symbol_left==\'\'">'. '<span class="curr_symbol_left">{{curr_symbol_left}}</span>'. '</div>'. '<input type="text" class="form-control" required number ng-model="data.amount_off">'. '<div class="input-group-addon" ng-hide="curr_symbol_right==\'\'">'. '<span class="curr_symbol_right">{{curr_symbol_right}}</span>'. '</div>'. '</div>'; $format = $this->term('LBL_DISCOUNT_AMOUNT_OFF_REPEAT_CUSTOMER_TOTAL_ORDER'); echo sprintf($format, $input1,$input2); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="5" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_PERCENT_OFF_REPEAT_CUSTOMER'); ?></label> <div class="dc dc_5" ng-hide="data.type!=5"> <div class="form-group"> <?php $input1 = '<input type="text" required number ng-model="data.i_amount">'; $input2 = '<span class="input-group input-group-inline">'. '<input type="text" class="form-control" required number ng-model="data.amount_off">'. '<div class="input-group-addon">'. '<span class="curr_symbol_right">%</span>'. '</div>'. '</span>'; $format = $this->term('LBL_DISCOUNT_PERCENT_OFF_REPEAT_CUSTOMER_TOTAL_ORDER'); echo sprintf($format, $input1,$input2); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="6" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_BUY_ONE_GET_ONE'); ?></label> <div class="dc dc_6" ng-hide="data.type!=6"> <div class="form-group"> <?php $input1 = '<input type="text" required number ng-model="data.i_amount">'; $input2= '<a href="javascript:void(0);" ng-click="selectProduct()">{{product.name}}</a>'; $input3 = '<div class="input-group input-group-inline">'. '<input type="text" class="form-control" required number ng-model="data.amount_off">'. '<div class="input-group-addon">'. '<span class="curr_symbol_right">%</span>'. '</div>'. '</div>'; $input4 = '<input type="text" required number ng-model="data.amount_to_get">'; $format = $this->term('LBL_DISCOUNT_BUY_ONE_GET_ONE_DESCRIPTION'); echo sprintf($format, $input1,$input2,$input3,$input4); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="7" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_BUY_ONE_GET_ELSE'); ?></label> <div class="dc dc_7" ng-hide="data.type!=7"> <div class="form-group"> <?php $input1 = '<input type="text" required number ng-model="data.i_amount">'; $input2='<input type="checkbox" ng-model="data.amount_and_more" />'; $input3= '<a href="javascript:void(0);" ng-click="selectProduct()">{{product.name}}</a>'; $input4 = '<input type="text" required number ng-model="data.amount_to_get">'; $input5= '<a href="javascript:void(0);" ng-click="selectGetProduct()">{{get_product.name}}</a>'; $format = $this->term('LBL_DISCOUNT_BUY_ONE_GET_ELSE_DESCRIPTION'); echo sprintf($format, $input1,$input2,$input3,$input4,$input5); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="8" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_AMOUNT_OFF'); ?></label> <div class="dc dc_8" ng-hide="data.type!=8"> <div class="form-group"> <?php $input1 = '<div class="input-group input-group-inline">'. '<div class="input-group-addon" ng-hide="curr_symbol_left==\'\'">'. '<span class="curr_symbol_left">{{curr_symbol_left}}</span>'. '</div>'. '<input type="text" class="form-control" required number ng-model="data.amount_off">'. '<div class="input-group-addon" ng-hide="curr_symbol_right==\'\'">'. '<span class="curr_symbol_right">{{curr_symbol_right}}</span>'. '</div>'. '</div>'; $input2 = '<div class="apply_to_category_list">'. '<ul ng-model="list" class="jstree">'. '<li ng-class="{\'jstree-close\': angular.isDefined(item.items) && item.opened,\'jstree-leaf\':!angular.isDefined(item.items)}" ng-repeat="item in product_categories_list" ng-include="\'couponProductCategoryTree_recursiveTpl.html\'" ng-model="item">'. '</li>'. '</ul>'. '</div>'; $format = $this->term('LBL_DISCOUNT_AMOUNT_OFF_DESCRIPTION'); echo sprintf($format, $input1,$input2); ?> </div> </div> </div> <div class="form-group"> <label><input type="radio" value="9" name="type" ng-model="data.type" /><?php $this->t('LBL_DISCOUNT_PERCENT_OFF'); ?></label> <div class="dc dc_9" ng-hide="data.type!=9"> <div class="form-group"> <?php $input1 = '<div class="input-group input-group-inline">'. '<input type="text" class="form-control" required number ng-model="data.amount_off">'. '<div class="input-group-addon" ng-hide="curr_symbol_right==\'\'">'. '<span class="curr_symbol_right">%</span>'. '</div>'. '</div>'; $input2 = '<div class="apply_to_category_list">'. '<ul ng-model="list" class="jstree">'. '<li ng-class="{\'jstree-close\': angular.isDefined(item.items) && item.opened,\'jstree-leaf\':!angular.isDefined(item.items)}" ng-repeat="item in product_categories_list" ng-include="\'couponProductCategoryTree_recursiveTpl.html\'" ng-model="item">'. '</li>'. '</ul>'. '</div>'; $format = $this->term('LBL_DISCOUNT_PERCENT_OFF_DESCRIPTION'); echo sprintf($format, $input1,$input2); ?> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_DISCOUNT_PERCENT_OFF_AMOUNT'); ?> </label> <div class="controls "> <input type="text" class="number required" ng-model="data.i_amount"> <label><?php $this->t('LBL_DISCOUNT_BUY_ONE_GET_ELSE_AND_MORE'); ?><input type="checkbox" ng-model="data.amount_and_more" /></label> </div> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_DISCOUNT_PERCENT_OFF_CATEGORY'); ?> </label> <div class="controls category_list"> </div> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_DISCOUNT_PERCENT_OFF_AMOUNT_OFF'); ?> </label> <div class="controls input-append"> <input type="text" class="form-control number required" ng-model="data.amount_off"><span class="">%</span> </div> </div> </div> </div> </div> </div> <div class="col-md-3"> <div class=""> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_COUPON_IS_ACTIVE'); ?> <input type="checkbox" ng-model="data.is_active" ng-true-value="1" ng-false-value="0" /> </label> <div class="controls"> </div> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_COUPON_START_DATE'); ?> </label> <div class="controls"> <div class="dropdown"> <a class="dropdown-toggle" id="dropdown5" role="button" data-toggle="dropdown" data-target="#" href="#"> <div class="input-group"> <input type="text" ng-model="start_date_text" class="form-control" /> <div class="input-group-addon"><i class="font-calendar"></i></div> </div> </a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <datetimepicker data-ng-model="start_date_data" data-datetimepicker-config="{ minView:'day',dropdownSelector: '#dropdown5' }"></datetimepicker> </ul> </div> </div> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_COUPON_CAN_EXPIRED_DATE'); ?> <input type="checkbox" class="" ng-model="data.can_expire" ng-true-value="1" ng-false-value"0"/> </label> <div class="controls" ng-show="data.can_expire"> <div class="dropdown"> <a class="dropdown-toggle" id="dropdown4" role="button" data-toggle="dropdown" data-target="#" href="#"> <div class="input-group"> <input type="text" ng-model="expired_date_text" class="form-control" ng-change="changeExpireDate()" /> <div class="input-group-addon"><i class="font-calendar"></i></div> </div> </a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <datetimepicker data-ng-model="expired_date_data" data-datetimepicker-config="{ minView:'day',dropdownSelector: '#dropdown4' }"></datetimepicker> </ul> </div> </div> </div> <div class="form-group"> <label class="control-label"> <?php $this->t('LBL_COUPON_LIMIT_BY_QUANTITY'); ?> <input type="checkbox" class="" ng-model="data.quantity_limit" ng-true-value="1" ng-false-value"0"/> </label> <div class="controls" ng-show="data.quantity_limit"> <input type="text" class="form-control" number ng-model="data.quantity"> </div> </div> </div> </div> </div> </form>
[+]
..
[-] profile.php
[edit]
[-] ___custom.php
[edit]
[-] backgroundeditor_full.php
[edit]
[-] contributor_invite.php
[edit]
[-] product_option.php
[edit]
[-] palette.php
[edit]
[-] module_list.php
[edit]
[-] login.php
[edit]
[-] discount.php
[edit]
[-] backgroundeditor.php
[edit]
[-] zone.php
[edit]
[-] newsgrid.php
[edit]
[+]
pagelist
[-] news_comment.php
[edit]
[-] contributor.php
[edit]
[-] backgroundeditor_mini.php
[edit]
[-] skin.php
[edit]
[-] news.php
[edit]
[-] color.php
[edit]
[-] domain.php
[edit]
[-] review.php
[edit]
[-] font_customize.php
[edit]
[-] profile_change_password.php
[edit]
[-] color_palette_customize.php
[edit]