Browse Source

fix ribuan expense

pull/1/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
d5bbefe824
  1. 8
      edit-mode/function/expenseResource.js

8
edit-mode/function/expenseResource.js

@ -11,13 +11,13 @@ function resetFormAssignexpense() {
var rupiahExpense = document.getElementById('price-req-expense'); var rupiahExpense = document.getElementById('price-req-expense');
rupiah.addEventListener('keyup', function (e) { rupiahExpense.addEventListener('keyup', function (e) {
rupiah.value = formatRibuanInput(this.value); rupiahExpense.value = formatRibuanInput(this.value);
}); });
var qtyExpense = document.getElementById('qty-req-expense'); var qtyExpense = document.getElementById('qty-req-expense');
qty.addEventListener('keyup', function (e) { qtyExpense.addEventListener('keyup', function (e) {
qty.value = formatRibuanInput(this.value); qtyExpense.value = formatRibuanInput(this.value);
}); });
$(document).ready(function () { $(document).ready(function () {

Loading…
Cancel
Save