Lines 19-25
function barcode_check(){
Link Here
|
19 |
// alert(elembarcode+"\n"+eval(elembarcode+".value)); |
19 |
// alert(elembarcode+"\n"+eval(elembarcode+".value)); |
20 |
// alert(elemstatus+"\n"+eval(elemstatus+".value")); |
20 |
// alert(elemstatus+"\n"+eval(elemstatus+".value")); |
21 |
if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){ |
21 |
if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){ |
22 |
var answer = confirm("Leave barcode blank?\n - Note: unable to change this later"); |
22 |
var answer = confirm(_("Leave barcode blank?")+"\n"+_("Note: unable to change this later")); |
23 |
if (answer){ |
23 |
if (answer){ |
24 |
document.f.submit(); |
24 |
document.f.submit(); |
25 |
} else { |
25 |
} else { |
Lines 27-33
function barcode_check(){
Link Here
|
27 |
} |
27 |
} |
28 |
} |
28 |
} |
29 |
if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){ |
29 |
if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){ |
30 |
var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?"); |
30 |
var answer = confirm(_("A barcode was not entered.")+"\n"+_("Do you want to put in a barcode")+"\n"+_("or do you want to use a system generated barcode?")); |
31 |
if (answer){ |
31 |
if (answer){ |
32 |
document.f.submit(); |
32 |
document.f.submit(); |
33 |
} else { |
33 |
} else { |
34 |
- |
|
|