{assign var=i value=1} {assign var=debtorTotal value=0} {assign var=creditorTotal value=0} {foreach $allDailyEntery as $dailyEntery} {if $dailyEntery->id !=""} {if $dailyEntery->reverseofid != 0 && $dailyEntery->reverseofid != -10} {else} {/if} {assign var=i value=$i+1} {else} {if $dailyEntery->reverseofid > 0} {else} {/if} {/if} {if $dailyEntery->type eq 0} {assign var=debtorTotal value=$debtorTotal+ $dailyEntery->value} {else} {assign var=creditorTotal value=$creditorTotal+ $dailyEntery->value} {/if} {if $dailyEntery->id !=""} {if $dailyEntery->reverseofid != 0 || $dailyEntery->reverseofid == -10} {else} {/if} {else} {/if} {/foreach}
# ر.ق مدين دائن الحساب التاريخ البيان بيان القيد
{$i}{$dailyEntery->id}
{$dailyEntery->value} من حــ/ {$dailyEntery->accountstreeName} {$dailyEntery->dDateTime} {$dailyEntery->dComment} {$dailyEntery->value}                 الى حــ/ {$dailyEntery->accountstreeName} {$dailyEntery->dDateTime} {$dailyEntery->dComment}{$dailyEntery->entryComment}
               
               
المحاسب المراجع المدير
{literal} {/literal}