foreach ($query as $row) {
    ?>
						<tr>
							<td><?php 
    echo $row->name;
    ?>
</td>
							<td><?php 
    echo isset($row->image) ? img('..' . $row->image) : lang('no_info');
    ?>
</td>
							<td><?php 
    echo anchor_image('category/edit/' . $row->id, '../images/administrator/application_edit.png');
    ?>
 :: <?php 
    echo anchor_image('category/delete/' . $row->id, '../images/administrator/cross.png');
    ?>
</td>
						</tr>
					<?php 
}
?>
					</tbody>
				</table>
				</div>			
        	</div>
        	<div class="column-right">				
				<?php 
$this->load->view('category/category_edit');
?>
			</div>
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
?>
<div id="page-wrapper">
	<div id="main-wrapper">
		<div id="main-content">
			<div class="title title-spacing">
				<h2><?php 
echo lang('actual_state');
?>
&nbsp;&nbsp;&nbsp;<?php 
echo anchor_image(site_url() . "/stock/report_actual_pdf/", '../images/administrator/pdf.png');
?>
</h2>
			</div>
				<?php 
echo form_open('stock/report_actual');
?>
			<div class="two-column">
			<div class="column-left">
				<div class="hastable">
				<table cellspacing="0">
					<thead>
						<tr>
							<td><?php 
echo lang('name');
?>
    echo $row->name;
    ?>
</td>
							<td align="right"><?php 
    echo $row->dest;
    ?>
</td>
							<td align="right"><?php 
    echo $row->driver;
    ?>
</td>
							<td align="right"><?php 
    echo anchor_image('printer/edit/' . $row->id, '../images/administrator/application_edit.png');
    ?>
 :: <?php 
    echo anchor_image('printer/delete/' . $row->id, '../images/administrator/cross.png');
    ?>
</td>
						</tr>
					<?php 
}
?>
					</tbody>
				</table>
				</div>			
        	</div>
        	<div class="column-right">			
				<?php 
$this->load->view('printer/printer_edit');
?>
			</div>
    echo $row->name;
    ?>
</td>					
							<td align="right"><?php 
    echo $row->price;
    ?>
</td>
							<td align="right"><?php 
    echo $row->sell_price;
    ?>
</td>
							<td align="right"><?php 
    echo anchor_image('ingredient/edit/' . $row->id, '../images/administrator/application_edit.png');
    ?>
 :: <?php 
    echo anchor_image('ingredient/delete/' . $row->id, '../images/administrator/cross.png');
    ?>
</td>
						</tr>
				<?php 
    $rowtmp = $query->next_row();
    $tmp = $rowtmp->catname;
    if ($tmp != $row->catname) {
        $tmp = $row->catname;
        echo "</table></div></div>";
    }
}
?>
						</table></div></div>
				</div>
			</div>
&nbsp;&nbsp;</th>
									</tr>
								</thead>	
						<?php 
    }
    ?>
		<tr>
									<td><?php 
    echo $row->name;
    ?>
</td>
									<td><?php 
    echo anchor_image('contacts/edit/' . $row->contact_id, '../images/administrator/application_edit.png');
    ?>
 :: <?php 
    echo anchor_image('contacts/delete/' . $row->contact_id, '../images/administrator/cross.png');
    ?>
</td>
								</tr>
						<?php 
    $temp = $query->next_row();
    $tmp = $temp->contacttype;
    if ($tmp != $row->contacttype) {
        $tmp = $row->contacttype;
        echo "</table></div></div>";
    }
}
?>
					</table></div></div>
				</div>
			</div>
echo form_input($date_from);
?>
</td>
						<td><?php 
echo lang('to');
?>
 : <?php 
echo form_input($date_to);
?>
</td>
						<td><input type="submit" value="<?php 
echo lang('show');
?>
" class="ui-state-default ui-corner-all float-right"></td>
						<td align="right"><?php 
echo anchor_image(site_url() . "/account/report_movement_pdf/" . $tmp_from . "_" . $tmp_to, '../images/administrator/pdf.png');
?>
</td>
					</tr>
				</table>
					<?php 
$tmp = "";
$total_in = 0;
$total_out = 0;
$partial_in = 0;
$partial_out = 0;
foreach ($account_movements->result() as $row) {
    if ($row->cash_amount > 0) {
        $total_in += $row->cash_amount;
        $partial_in += $row->cash_amount;
    } else {
&nbsp;&nbsp;</th>
									</tr>
								</thead>	
						<?php 
    }
    ?>
		<tr>
									<td><?php 
    echo $row->accname;
    ?>
</td>
									<td><?php 
    echo anchor_image('bankaccount/edit/' . $row->bankid, '../images/administrator/application_edit.png');
    ?>
 :: <?php 
    echo anchor_image('bankaccount/delete/' . $row->bankid, '../images/administrator/cross.png');
    ?>
</td>
								</tr>
						<?php 
    $temporary = $query->next_row();
    $tmp = $temporary->bankname;
    if ($tmp != $row->bankname) {
        $tmp = $row->bankname;
        echo "</table></div></div>";
    }
}
?>
					</table></div></div>
				</div>
			</div>
Example #8
0
</div><?php 
        echo form_hidden('object_id_' . $ingredient->object_id, $ingredient->object_id);
        ?>
</td>
			<td align="right"><div id="unit_type_<?php 
        echo $ingredient->stock_id;
        ?>
"><?php 
        echo $uom[$ingredient->unit_type];
        ?>
</div><?php 
        echo form_hidden('stock_id_' . $ingredient->stock_id, $ingredient->stock_id);
        ?>
</td>
			<td align="right"><?php 
        echo anchor_image('dish/deleteIngredient/' . $ingredient->object_id . "-" . $edit[0]->id . "-" . $ingredient->id, '../images/administrator/cross.png');
        ?>
</td>
		</tr>
		<script type="text/javascript">
		$(document).ready(function() {
		    $("#quantity_<?php 
        echo $ingredient->object_id;
        ?>
").editable("<?php 
        echo base_url() . '?c=dish&m=updateIngredientQuantity';
        ?>
", { 
		        indicator : '<?php 
        echo lang('saving');
        ?>
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *	You should have received a copy of the GNU General Public License
 *	along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
?>
<div id="page-wrapper">
	<div id="main-wrapper">
		<div id="main-content">
			<div class="title title-spacing">
				<h2><?php 
echo lang('actual_state');
?>
&nbsp;&nbsp;&nbsp;<?php 
echo anchor_image(site_url() . "/bankaccount/report_actual_pdf/", '../images/administrator/pdf.png');
?>
</h2>
			</div>
			<div class="two-column">
			<div class="column-left">
				<div class="hastable">
				<table cellspacing="0">
					<thead>
						<tr>
							<th><?php 
echo lang('bank');
?>
</th>
							<th><?php 
echo lang('account');