X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fpayment%2Freconcile.tpl;h=87705883c888e8d93382122e42bc3866cfb51486;hb=53a6caf435b7b8d459f0b52189e4988d43d7405d;hp=75a9d37cc0e12c30d956e68a8dbd0aaaea4a151a;hpb=12ddbc2037b16496dfb9d91c4f7091850146fcde;p=platal.git diff --git a/templates/payment/reconcile.tpl b/templates/payment/reconcile.tpl index 75a9d37..8770588 100644 --- a/templates/payment/reconcile.tpl +++ b/templates/payment/reconcile.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,7 +22,101 @@

Réconciliation - {$title}

-{if $step eq 'step1'} +{if $step eq 'list'} + +
+ + + + + + + + + + + + + + {foreach from=$recongps item=recongp} + {assign var='sum1' value='0'} + {assign var='sum2' value='0'} + {assign var='sum3' value='0'} + {if $recongp.id} + + + + + + + {/if} + {foreach from=$recongp.recons item=recon} + {assign var='sum1' value=`$sum1+$recon.payment_count`} + {assign var='sum2' value=`$sum2+$recon.sum_amounts`} + {assign var='sum3' value=`$sum3+$recon.sum_commissions`} + + + + + + + + + + + + + {/foreach} + {if $recongp.id} + + + + + + + + + + + + + + + + {/if} + {/foreach} +
 idmethodduaustatuttransactionstotal (€)coms (€)actions
 non régroupées
 Créer une nouvelle réconciliation{icon name=add title='nouvelle réconciliation'}
 
 groupe ID {$recongp.id}{icon name=delete title='supprimer'}
+ {if $recon.status eq 'transfering'} + + {else} +   + {/if} + {$recon.id}{$recon.method}{$recon.period_start}{$recon.period_end}{$recon.status}{$recon.payment_count}{$recon.sum_amounts}{$recon.sum_commissions}{if $recongp.id} {else}{icon name=delete title='supprimer'}{/if}
 total :{$sum1}{$sum2|string_format:"%.2f"}{$sum3|string_format:"%.2f"} 
+ + + + + {assign var='sum' value='0'} + {foreach from=$recongp.transfers item=transfer} + {assign var='sum' value=`$sum+$transfer.amount`} + + + + + + + + + {/foreach} +
iddatemessageRIB€action
{$transfer.id}{if $transfer.date}{$transfer.date}{else}à virer{/if}{$transfer.message}{$transfer.account}{$transfer.amount} + {if !$transfer.date}{icon name=tick title='Confirmer la réalisation'}{/if} + {icon name=page_edit title='Éditer'} +
+
 total :{$sum|string_format:"%.2f"} - coms = {$sum-$sum3|string_format:"%.2f"} 
+

+
+ +{elseif $step eq 'step1'} @@ -31,7 +125,7 @@ {foreach from=$methods item=method} {/foreach} @@ -122,15 +216,15 @@ total (excepted onlydb) : {$ok_count+$differ_count+$onlyim_count} (doit être é {foreach from=$differs item=i} - - - - - - - - - + + + + + + + + + {/foreach}
- {$method.text} + {$method.text}
{$i.fullref}
{$i.reference}
{$i.method_id}
 
{$i.ts_confirmed}
{$i.date}
{$i.amount}
{$i.amount2}
{$i.commission}
{$i.commission2}
{$i.status}
 
{$i.recon_id}
 
{xsrf_token_field}
{$i.fullref}
{$i.reference}
{$i.method_id}
 
{$i.ts_confirmed}
{$i.date}
{$i.amount}
{$i.amount2}
{$i.commission}
{$i.commission2}
{$i.status}
 
{$i.recon_id}
 
{xsrf_token_field}
{else} @@ -213,6 +307,6 @@ TODO: listing {if $dontshowback}

-back +back

{/if}