+
+ private void menuNoticeDraftAwaitingApprovalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuNoticeDraftAwaitingApprovalActionPerformed
+ // TODO add your handling code here:
+ NoticesReportViewDialog frm = new NoticesReportViewDialog(this, false);
+ String cols[] = {"Reference Number", "Description", "Entrustment Date", "Client"};
+ int rep = 2;
+ ArrayList<Object> data = Utility.getReportData(rep, -1);
+ if (data == null) {
+ JOptionPane.showMessageDialog(this, ERROR_DISPLAYING_REPORT);
+ return;
+ }
+ frm.setupReportTable(rep, REPORT_TITLE_DRAFTS_AWAITING_APPROVAL, cols, data);
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuNoticeDraftAwaitingApprovalActionPerformed
+
+ private void menuNoticesClarificationPendingActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuNoticesClarificationPendingActionPerformed
+ // TODO add your handling code here:
+ NoticesReportViewDialog frm = new NoticesReportViewDialog(this, false);
+ String cols[] = {"Reference Number", "Description", "Entrustment Date",
+ "Clarification Remarks", "Client" };
+ int rep = 3;
+ ArrayList<Object> data = Utility.getReportData(rep, -1);
+ if (data == null) {
+ JOptionPane.showMessageDialog(this, ERROR_DISPLAYING_REPORT);
+ return;
+ }
+ frm.setupReportTable(rep, REPORT_TITLE_CLARIFICATIONS_PENDING, cols, data);
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuNoticesClarificationPendingActionPerformed
+ private static final String REPORT_TITLE_CLARIFICATIONS_PENDING = "Clarifications Pending";
+ private static final String REPORT_TITLE_DRAFTS_AWAITING_APPROVAL = "Drafts To Be Approved";