function render_html()
 {
     // heading
     print "<h3>DELETE CREDIT NOTE</h3><br>";
     print "<p>This page allows you to delete incorrect credit notes, provided that they have not been locked.</p>";
     // display summary box
     credit_render_summarybox("ar_credit", $this->id);
     // display form
     $this->obj_form_credit->render_html();
 }
 function render_html()
 {
     // heading
     print "<h3>CREDIT NOTE PAYMENT/REFUND/LOCK</h3><br>";
     print "<p>This page allows you to lock credit notes to permanently apply the credit to the selected customer - once done, you can safely refund the customer via the customer's credit page.</p>";
     // display summary box
     credit_render_summarybox("ar_credit", $this->id);
     // display form
     $this->obj_form_credit->render_html();
 }
 function render_html()
 {
     // heading
     print "<h3>EXPORT CREDIT</h3><br>";
     print "<p>This page allows you to export the credit in different formats and provides functions to allow you to email the credit directly to the customer.</p>";
     // display summary box
     credit_render_summarybox("ar_credit", $this->id);
     // display form
     $this->obj_form_credit->render_html();
 }
 function render_html()
 {
     // heading
     print "<h3>VIEW CREDIT NOTE</h3><br>";
     print "<p>This page allows you to view the basic details of the credit. You can use the links in the green navigation menu above to change to different sections of the credit, in order to add items, payments or journal entries to the credit.</p>";
     // display summary box
     credit_render_summarybox("ar_credit", $this->id);
     // display form
     $this->obj_form_credit->render_html();
 }
 function render_html()
 {
     // heading
     print "<h3>CREDIT NOTE ITEMS</h3><br>";
     print "<p>This page shows all the items belonging to the credit and allows you to edit them.</p>";
     // display summary box
     credit_render_summarybox("ar_credit", $this->id);
     // display credit item box
     credit_render_invoiceselect("ar_credit", $this->id, "accounts/ar/credit-items-edit.php");
     // display form
     $this->obj_table_items->render_html();
 }
 function render_html()
 {
     // title + summary
     print "<h3>ADD/EDIT CREDIT NOTE ITEM</h3><br>";
     print "<p>This page allows you to make changes to an credit item.</p>";
     credit_render_summarybox("ar_credit", $this->id);
     $this->obj_form_item->render_html();
 }