-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detail page of one payment which can be shared when communicating with helpdesk / other admins. URL: `/payments/payments-admin/show/{PAYMENT-ID}` Link to detail of payment was added: - To all payments list. - To the list of user's payments. - To the list of user's subscriptions (there was payment ID; it's a link now). - To the detail of one subscription (only link to payment; added as widget). It contains three SimpleWidget placeholders through which you can extend this screen as needed: - admin.payments.show.left - admin.payments.show.right - admin.payments.show.bottom remp/crm#2487
- Loading branch information
Showing
8 changed files
with
58 additions
and
29 deletions.
There are no files selected for viewing
13 changes: 8 additions & 5 deletions
13
src/Components/DownloadReceiptButton/download_receipt_button.latte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
{if $showButton} | ||
{if $admin} | ||
<a href="{plink :Invoices:ReceiptsAdmin:downloadReceipt $paymentId}" class="btn btn-sm btn-primary"> | ||
<i class="fa fa-download"></i> {_invoices.frontend.download_receipt} | ||
</a> | ||
<li class="menuitem-header">{_invoices.frontend.download_receipt.header}</li> | ||
<li role="menuitem"> | ||
<a href="{plink :Invoices:ReceiptsAdmin:downloadReceipt $paymentId}"> | ||
<i class="fa fa-download"></i> {_invoices.frontend.download_receipt.download} | ||
</a> | ||
</li> | ||
{else} | ||
<a href="{plink ':Invoices:Receipts:downloadReceipt' $paymentId}" class="btn btn-sm btn-primary"> | ||
<i class="fa fa-download"></i> {_invoices.frontend.download_receipt} | ||
<i class="fa fa-download"></i> {_invoices.frontend.download_receipt.download} | ||
</a> | ||
{/if} | ||
{/if} | ||
{/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters