Delong Enterprises Expense Report.
\n"
if(document.TRAVEL.Receipt[1].checked) {
newContent += "You have one week to submit your receipts to me!.
\n" }
newWindow.document.write(newContent)
newWindow.document.write("
Name: " + document.TRAVEL.FirstName.value + " " +
document.TRAVEL.LastName.value + "
\n")
newWindow.document.write("
Department: " + document.TRAVEL.Dept.options[document.TRAVEL.Dept.selectedIndex].text + "
\n")
newWindow.document.write("
Purpose of trip: " + document.TRAVEL.Desc.value + "
\n")
newWindow.document.write("
Expense 1
\n" +
" Date: " + document.TRAVEL.Date1.value + "
\n" +
" Description: " + document.TRAVEL.Description1.value + "
\n" +
" Category: " + document.TRAVEL.Category1.options[document.TRAVEL.Category1.selectedIndex].text + "
\n" +
" Amount: $ " + document.TRAVEL.Amt1.value + "
\n")
if(document.TRAVEL.Date2.value != "mm/dd/yyyy") {
newWindow.document.write("
Expense 2
\n" +
" Date: " + document.TRAVEL.Date2.value + "
\n" +
" Description: " + document.TRAVEL.Description2.value + "
\n" +
" Category: " + document.TRAVEL.Category2.options[document.TRAVEL.Category2.selectedIndex].text + "
\n" +
" Amount: $ " + document.TRAVEL.Amt2.value + "
\n") }
if(document.TRAVEL.Date3.value != "mm/dd/yyyy") {
newWindow.document.write("
Expense 3
\n" +
" Date: " + document.TRAVEL.Date3.value + "
\n" +
" Description: " + document.TRAVEL.Description3.value + "
\n" +
" Category: " + document.TRAVEL.Category3.options[document.TRAVEL.Category3.selectedIndex].text + "
\n" +
" Amount: $ " + document.TRAVEL.Amt3.value + "
\n") }
if(document.TRAVEL.Date4.value != "mm/dd/yyyy") {
newWindow.document.write("
Expense 4
\n" +
" Date: " + document.TRAVEL.Date4.value + "
\n" +
" Description: " + document.TRAVEL.Description4.value + "
\n" +
" Category: " + document.TRAVEL.Category4.options[document.TRAVEL.Category4.selectedIndex].text + "
\n" +
" Amount: $ " + document.TRAVEL.Amt4.value + "
\n") }
newWindow.document.write("