Skip to content

Commit

Permalink
Fix discount policy form and ticket assignment page (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
vidya-ram authored Jun 27, 2024
1 parent dcce4e9 commit 2388e73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions boxoffice/assets/js/templates/admin_discount_policy.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ export const DiscountPolicyTemplate = `
</label>
</div>
// DiscountTypeEnum [AUTOMATIC = 1,COUPON = 2]
{{#if newDiscountPolicy.is_price_based == 0}}
<div class="group">
<p class="field-title filled">How is this discount going to be availed?</p>
<label class="radio-inline">
<input type="radio" name="discount_type" value=1 on-click="onPolicyTypeChange(event)" checked />
<input type="radio" name="discount_type" value=2 on-click="onPolicyTypeChange(event)" checked />
Coupon based
</label>
<label class="radio-inline">
<input type="radio" name="discount_type" value=0 on-click="onPolicyTypeChange(event)" />
<input type="radio" name="discount_type" value=1 on-click="onPolicyTypeChange(event)" />
Automatic
</label>
</div>
Expand Down
2 changes: 1 addition & 1 deletion boxoffice/assets/js/templates/ticket_assigment.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const TicketAssignmentTemplate = `
<div class="content">
{{#if !toAssign}}
<div class="content-box clearfix" intro='fly:{"x":20,"y":"0"}'>
<div class="item-description">{{{ description }}}</div>
<div class="item-description">{{{ description_html }}}</div>
<p class="price center">&#8377;{{ final_amount }}</p>
{{#if assignee.id || isTicketAssigned}}
<p class="confirmation-msg"><i class="fa fa-check"></i> This ticket has been assigned to {{assignee.fullname}}</p>
Expand Down

0 comments on commit 2388e73

Please sign in to comment.