Skip to content

Commit

Permalink
Merge pull request #3902 from ONE-F-M/employee_reliever_css_chore
Browse files Browse the repository at this point in the history
employee_reliever_css_chore
  • Loading branch information
pjamsheer authored Dec 25, 2024
2 parents 4cee99b + 874ce03 commit f4aefc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion one_fm/public/js/doctype_js/employee.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ var yes_no_html_buttons = function(frm, val, html_field, field_name, label) {
var $wrapper = frm.fields_dict[html_field].$wrapper;
var selected = 'btn-primary';
var field_btn_html = field_name+'_btn_html';
var field_html = `<div><label class="control-label" style="padding-right: 0px;">${label}</label></div><div>
var field_html = `<div><label class="control-label" style="padding-right: 0px;">${label}</label></div><div style="margin-bottom: 10px;">
<button class="btn btn-default btn-xs ${val ? selected: ''} ${field_btn_html}" type="button" data='Yes'>Yes</button>
<button class="btn btn-default btn-xs ${!val ? selected: ''} ${field_btn_html}" type="button" data='No'>No</button>
</div>`;
Expand Down

0 comments on commit f4aefc2

Please sign in to comment.