echo "<td></td>"; } else { echo "<td></td>"; echo "<td>"; echo convert_dc($row->entry_items_dc); echo " "; echo $row->entry_items_amount; echo "</td>"; } echo "<td>"; if (!$print_preview) { $reconciliation_date = array('name' => 'reconciliation_date[' . $row->entry_items_id . ']', 'id' => 'reconciliation_date', 'maxlength' => '11', 'size' => '11', 'value' => ''); if ($row->entry_items_reconciliation_date) { $reconciliation_date['value'] = date_mysql_to_php($row->entry_items_reconciliation_date); } echo form_input_date_restrict($reconciliation_date); } else { if ($row->entry_items_reconciliation_date) { echo date_mysql_to_php($row->entry_items_reconciliation_date); } else { echo "-"; } } echo "</td>"; echo "</tr>"; $odd_even = $odd_even == "odd" ? "even" : "odd"; } echo "</table>"; if (!$print_preview) { echo "<p>"; echo form_submit('submit', 'Update');
</script> <?php echo form_open('inventory/entry/add/' . $current_entry_type['label']); echo "<p>"; echo "<span id=\"tooltip-target-1\">"; echo form_label('Entry Number', 'entry_number'); echo " "; echo $current_entry_type['prefix'] . form_input($entry_number) . $current_entry_type['suffix']; echo "</span>"; echo "<span id=\"tooltip-content-1\">Leave Entry Number empty for auto numbering</span>"; echo " "; echo "<span id=\"tooltip-target-2\">"; echo form_label('Entry Date', 'entry_date'); echo " "; echo form_input_date_restrict($entry_date); echo "</span>"; echo "<span id=\"tooltip-content-2\">Date format is " . $this->config->item('account_date_format') . ".</span>"; echo "</p>"; if ($current_entry_type['inventory_entry_type'] == '1') { echo "<p>"; echo "<table border=0 cellpadding=2>"; echo "<tr>"; echo "<td align=\"right\">"; echo form_label('Purchase Ledger', 'main_account'); echo "</td>"; echo "<td>"; echo form_input_ledger('main_account', $main_account_active, '', $type = 'purchase'); echo "</td>"; echo "</tr>"; echo "<tr>";