- |
- {$group.reference}
- {if $group.transaction_message}{/if}
- {if $group.transaction_note}{/if}
- |
-
- {$group.status_label}
-
- |
- {$group.type} |
- {if $status eq 'closed'}
- {$group.file_created_date} |
- {else}
- {$group.latest_submission_date} |
+ {if $financialacls}
+
+ {ts}Note that only groups with contributions of authorized financial types are being displayed.{/ts}
+
{/if}
- {$group.collection_date} |
-
- {$group.nb_contrib}
- |
- {$group.total|crmMoney:$group.currency} |
-
- {ts}Contributions{/ts}
- {if $group.status == 'open'}
- {if $can_batch}
- {if $group.submit == 'missed'}
-
- {else}
-
+
+
+
+
+ | {ts}Group Name{/ts} |
+ {ts}Status{/ts} |
+ {ts}Type{/ts} |
+ {ts}Submission{/ts} |
+ {ts}Collection{/ts} |
+ {ts}Transactions{/ts} |
+ {ts}Total{/ts} |
+ |
+
+
+ {foreach from=$groups item=group}
+ {assign var='file_id' value=$group.file_id}
+ {assign var='group_id' value=$group.id}
+
+ |
+ {$group.reference}
+ {if $group.transaction_message}{/if}
+ {if $group.transaction_note}{/if}
+ |
+
+ {$group.status_label}
+
+ |
+ {$group.type} |
+ {if $status eq 'closed'}
+ {$group.file_created_date} |
+ {else}
+ {$group.latest_submission_date} |
+ {/if}
+ {$group.collection_date} |
+
+ {$group.nb_contrib}
+ |
+ {$group.total|crmMoney:$group.currency} |
+
+ {crmButton p="civicrm/sepa/listgroup" q="group_id=$group_id" class="button_view" title="{ts escape='htmlattribute'}Contributions{/ts}" icon="fa-info"}{ts}Contributions{/ts}{/crmButton}
+ {if $group.status == 'open'}
+ {if $can_batch}
+ {if $group.submit == 'missed'}
+ {crmButton p="civicrm/sepa/closegroup" q="group_id=$group_id&status=missed" class="button_close" title="{ts escape='htmlattribute'}Close and Submit{/ts}" icon="fa-paper-plane"}{ts}Close and Submit{/ts}{/crmButton}
+ {else}
+ {crmButton p="civicrm/sepa/closegroup" q="group_id=$group_id" class="button_close" title="{ts escape='htmlattribute'}Close and Submit{/ts}" icon="fa-paper-plane"}{ts}Close and Submit{/ts}{/crmButton}
+ {/if}
{/if}
- {ts}Close and Submit{/ts}
- {/if}
- {else}
- {ts}Download Again{/ts}
- {if $closed_status_id eq $group.status_id}
- {if not $group.collection_date_in_future}
- {ts}Mark Received{/ts}
+ {else}
+ {crmButton p="civicrm/sepa/xml" q="id=$file_id" class="button_export" title="{ts escape='htmlattribute'}Download Again{/ts}" icon=""}{ts}Download Again{/ts}{/crmButton}
+ {if $closed_status_id eq $group.status_id}
+ {if not $group.collection_date_in_future}
+ {crmButton p="civicrm/sepa/mark_received" q="group_id=$group_id" class="button_received" title="{ts escape='htmlattribute'}Mark Received{/ts}" icon=""}{ts}Mark Received{/ts}{/crmButton}
+ {/if}
{/if}
{/if}
- {/if}
- {if $can_delete}
- {ts}Delete{/ts}
- {/if}
- |
-
- {/foreach}
-
-
-{* legend by @scardinius *}
-
-
- {ts}Legend{/ts}
-
- | {ts}Status{/ts} |
- {ts}Description{/ts} |
-
-
- | {ts}Missed{/ts} |
- {ts}Submission date has passed!{/ts} |
-
-
- | {ts}Urgent{/ts} |
- {ts}Submission date is immanent, you have to close group and upload file to creditor today!{/ts} |
-
-
- | {ts}Soon{/ts} |
- {ts}Submission within 6 days or OOFF (submission not enforced){/ts} |
-
-
- | {ts}Upcoming{/ts} |
- {ts}Submission date more than 6 days from now{/ts} |
-
-
- | {ts}Closed{/ts} |
- {ts}The group is closed and uploaded to creditor, submission date is in the past.{/ts} |
-
-
+ {if $can_delete}
+ {crmButton p="civicrm/sepa/deletegroup" q="group_id=$group_id" class="button_view" title="{ts escape='htmlattribute'}Delete{/ts}" icon="fa-trash-can"}{ts}Delete{/ts}{/crmButton}
+ {/if}
+ |
+
+ {/foreach}
+