Exemplo n.º 1
0
        ?>
</td>
			<td class="text-center"><?php 
        echo $budgetplan['course'];
        ?>
</td>
			<td class="text-center"><?php 
        echo currencyBR($budgetplan['amount']);
        ?>
</td>
			<td class="text-center"><?php 
        echo currencyBR($budgetplan['spending']);
        ?>
</td>
			<td class="text-center"><?php 
        echo currencyBR($budgetplan['balance']);
        ?>
</td>
			<td class="text-center"><?php 
        echo $budgetplan['status'];
        ?>
</td>

			<td>
				<?php 
        echo anchor("budgetplan/budgetplanExpenses/{$budgetplan['id']}", "<i class='fa fa-dollar'></i>", "class='btn btn-warning btn-editar btn-sm' style='margin-right:2%;'");
        ?>
				<?php 
        echo anchor("planoorcamentario/{$budgetplan['id']}", "<i class='fa fa-edit'></i>", "class='btn btn-primary btn-editar btn-sm' style='margin-right:10%;'");
        ?>
				<?php 
Exemplo n.º 2
0
        ?>
</td>
			<td><?php 
        echo $expense['year'];
        ?>
</td>
			<td><?php 
        echo $expense['expense_type_id'] . " - " . $expense['expense_type_description'];
        ?>
</td>
			<td><?php 
        echo $expense['month'];
        ?>
</td>
			<td><?php 
        echo currencyBR($expense['value']);
        ?>
</td>
			<td>
				
				<?php 
        echo form_open('expense/delete');
        ?>
					<?php 
        echo form_hidden('expense_id', $expense['id']);
        ?>
					<?php 
        echo form_hidden('budgetplan_id', $budgetplan['id']);
        ?>
					<button type="submit" class="btn btn-danger btn-sm">
						<i class="fa fa-remove"> Remover despesa</i>