Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix discount policy form and ticket assignment page #515

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading