if(client.customerID != null) { cursor = database.cursor("select * from rentals, videos where rentals.returnDate IS NULL AND rentals.videoId = videos.id AND rentals.customerId = " + client.customerID); } else { redirect("client.html"); } while(cursor.next()) { }
Current Rentals
Title Rental Date Due Date
write(cursor.title); write(cursor.rentalDate.toLocaleString()); write(cursor.dueDate.toLocaleString());

Rent Another

Home