?> "> </div> <div class="da-form-col-2-8" style="width:30%"> <input type="text" name="receipt_number" id="receipt_number" style="width:250px; margin: 0 0 0 5px" value="<?php echo $current_student->receipt_running_number + 1; ?> " placeholder=" running number" autocomplete="off" readonly="readonly"> </div> </div> <div class="da-form-row"> <label for="">Receipt Date</label> <div class="da-form-item"> <input type="text" name="date" id="date" value="<?php echo payment_date_format(date('j M Y')); ?> " autocomplete="off" style="width:200px"> </div> </div> <div class="da-form-row"> <label for="">Payment Method</label> <div class="da-form-col-2-8"> <select name="payment_type" id="payment_type" style="width:200px"> <?php foreach ($payment_types as $payment_type) { ?> <option value="<?php echo $payment_type->id; ?>
</div> <div class="da-form-row"> <label class="invoice_detail_label" for="">Invoice Date</label> <div class="da-form-item"> <?php echo payment_date_format($invoice->date); ?> </div> </div> <div class="da-form-row"> <label class="invoice_detail_label" for="">Due on</label> <div class="da-form-item"> <?php echo payment_date_format($invoice->due_date); ?> </div> </div> <div class="invoice_table_wrapper"> <table class="da-tablez" id="invoice_detail_table"> <thead> <tr> <th>Item Name & Description</th> <th class="centre">Qty</th> <th class="centre">Price Per Unit</th> <th class="centre">Total</th> </tr> </thead> <tbody getLink="<?php
echo "selected='selected'"; } ?> ><?php echo $payment_term->payment_term_name; ?> </option> <?php } ?> </select> </div> <div class="da-form-col-2-8"> <input type="text" name="custom" id="custom" value="<?php echo $invoice->custom == '0000-00-00' ? '' : payment_date_format($invoice->custom); ?> " style="width: 200px"> </div> </div> <div class="invoice_table"> <table class="da-table" id="invoice_table"> <thead> <tr> <th>Item Name & Description</th> <th>Qty</th> <th>Price Per Unit</th> <th colspan="2">Total</th> </tr> </thead>
?> " class="update_invoice backable_link"><?php echo $receipt->receipt_number; ?> </a> </td> <td><?php echo format_money($receipt->paid_amount, $current_currency); ?> </td> <td><?php echo get_display_name($receipt->student_name, $receipt->student_alias); ?> </td> <td><?php echo payment_date_format($receipt->date); ?> </td> <td class="receipt_status"> <?php if ($receipt->status == 0) { echo 'Void'; } elseif ($receipt->paid_amount > $receipt->balance) { echo 'Extra'; } elseif ($receipt->paid_amount == $receipt->balance) { echo 'Received'; } else { echo 'Partial'; } ?> </td>
echo $student->id; ?> "><?php echo $student->name; ?> </option> <?php } ?> </select> </div> <div class="da-form-row" ><?php echo lang('invoice_date'); ?> <input type="text" name="invoice_date" value="<?php echo payment_date_format(date('Y-m-d')); ?> " id="invoice_date" readonly='readonly'/> </div> <div class="da-form-row"> <label><?php echo lang('bill_for'); ?> </label> <select id="month" name="month"> <option value="1" <?php echo date('n') == 1 ? "selected='selected'" : ''; ?> >January</option> <option value="2" <?php