Пример #1
0
                            <td>
                                <input type="text" name="invoice_invoice_payment[new][date_paid]" id="newinvoice_payment_date" value="<?php 
        echo print_date($payment_date);
        ?>
" class="date_field">
                                <input type="hidden" name="invoice_invoice_payment[new][payment_type]" id="newinvoice_payment_type" value="<?php 
        echo _INVOICE_PAYMENT_TYPE_NORMAL;
        ?>
">
                                <input type="hidden" name="invoice_invoice_payment[new][other_id]" id="newinvoice_payment_other_id" value="">

                            </td>
                            <td>
                                
                                <?php 
        echo print_select_box(module_invoice::get_payment_methods(), 'invoice_invoice_payment[new][method]', module_config::s('invoice_payment_default_method', 'Bank'), '', true, false, true);
        ?>

                            </td>
                            <td nowrap="">
                                <?php 
        echo '<input type="text" name="invoice_invoice_payment[new][amount]" value="' . number_out($invoice['total_amount_due']) . '" id="newinvoice_paymentamount" class="currency">';
        ?>

                                <?php 
        echo print_select_box(get_multiple('currency', '', 'currency_id'), 'invoice_invoice_payment[new][currency_id]', $invoice['currency_id'], '', false, 'code');
        ?>

                            </td>
                            <td>
	                            <input type="text" name="invoice_invoice_payment[new][custom_notes]" value="" size="20">