Exemple #1
0
                                <span class="removeSmall"><a href="#removerTransacao?id=' . $transaction->id . '" title="Excluir esta transação"></a></span>
                            </td>
                        </tr>
                        ';
            }
        }
        $oldBalance = $acc->balance - $balance;
        ?>
    	
            
        <div id="acc<?php 
        echo $i;
        ?>
" class="block double">
                <div class="<?php 
        echo transactionType($acc->account_type_id);
        ?>
">
                    <h3><?php 
        echo $acc->name;
        ?>
</h3>
                </div>
        
                <!-- <div class="monthSelectInTitle">
                    <input type="text" class="calendar monthCalendar" value="<?php 
        echo thisMonthName($m) . " " . $y;
        ?>
" />
                </div> -->
        
Exemple #2
0
	<?php 
if (count($transactions) == 0) {
    ?>
		<div class="noData">
			Você ainda não cadastrou uma transação. <a href="#adicionarTransacao" title="Cadastrar primeira transação">Clique aqui</a> para começar!
		</div>
	<?php 
} else {
    ?>
	<table class="tableList">
	<?php 
    foreach ($transactions as $transaction) {
        ?>
		<tr 
			class="<?php 
        echo transactionType($transaction->account_type);
        if ($transaction->date > date('Y-m-d')) {
            echo " toDo";
        }
        ?>
" 
			data-description="<?php 
        echo $transaction->description;
        ?>
" 
			data-id="<?php 
        echo $transaction->id;
        ?>
" 
			data-type="<?php 
        echo $transaction->type;