+ private void menuCreateNoticeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuCreateNoticeActionPerformed
+ // TODO add your handling code here:
+ CreateNoticeDialog frm = new CreateNoticeDialog(this, true);
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuCreateNoticeActionPerformed
+
+ private void menuManageNoticesActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuManageNoticesActionPerformed
+ // TODO add your handling code here:
+ ManageNoticesDialog frm = new ManageNoticesDialog(this, true);
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuManageNoticesActionPerformed
+
+ private void menuStationeryActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuStationeryActionPerformed
+ // TODO add your handling code here:
+ StationerySettingsDialog frm = new StationerySettingsDialog(this, true);
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuStationeryActionPerformed
+
+ private void menuGenerateRaisedBillsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuGenerateRaisedBillsActionPerformed
+ // TODO add your handling code here:
+ GenerateRaisedBillsDialog frm = new GenerateRaisedBillsDialog(this, true);
+ frm.setVisible(true);
+
+ }//GEN-LAST:event_menuGenerateRaisedBillsActionPerformed
+
+ private void menuAwaitingPaymentActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuAwaitingPaymentActionPerformed
+ // TODO add your handling code here:
+ NoticesReportViewDialog frm = new NoticesReportViewDialog(this, false);
+ String [] cols = {"Reference Number", "Description", "Bill Date", "Bill Amount", "Client"};
+ ArrayList<Object> data = Utility.getPendingPaymentBills (-1);
+ if (data == null) {
+ JOptionPane.showMessageDialog(this, ERROR_DISPLAYING_REPORT);
+ return;
+ }
+ frm.setupReportTable(REPORT_TITLE_BILLS_AWAITING_PAYMENT, cols, data);
+ frm.setVisible(true);
+ }//GEN-LAST:event_menuAwaitingPaymentActionPerformed
+ private static final String ERROR_DISPLAYING_REPORT = "Error displaying report";
+ private static final String REPORT_TITLE_BILLS_AWAITING_PAYMENT = "Bills Awaiting Payment";
+