mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
Merge pull request #1825 from Zaxounette/PullPayments-claim
Pull payments claim & payout notification rewording
This commit is contained in:
commit
56ed583bff
@ -133,7 +133,7 @@ namespace BTCPayServer.Controllers
|
|||||||
{
|
{
|
||||||
TempData.SetStatusMessageModel(new StatusMessageModel()
|
TempData.SetStatusMessageModel(new StatusMessageModel()
|
||||||
{
|
{
|
||||||
Message = $"You posted a claim of {_currencyNameTable.DisplayFormatCurrency(vm.ClaimedAmount, ppBlob.Currency)} to {vm.Destination}, this will get fullfilled later.",
|
Message = $"Your claim request of {_currencyNameTable.DisplayFormatCurrency(vm.ClaimedAmount, ppBlob.Currency)} to {vm.Destination} has been submitted and is awaiting approval.",
|
||||||
Severity = StatusMessageModel.StatusSeverity.Success
|
Severity = StatusMessageModel.StatusSeverity.Success
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ namespace BTCPayServer.Services.Notifications.Blobs
|
|||||||
public override string NotificationType => "payout";
|
public override string NotificationType => "payout";
|
||||||
protected override void FillViewModel(PayoutNotification notification, NotificationViewModel vm)
|
protected override void FillViewModel(PayoutNotification notification, NotificationViewModel vm)
|
||||||
{
|
{
|
||||||
vm.Body = "A new payout is awaiting for payment";
|
vm.Body = "A new payout is awaiting for approval";
|
||||||
vm.ActionLink = _linkGenerator.GetPathByAction(nameof(WalletsController.Payouts),
|
vm.ActionLink = _linkGenerator.GetPathByAction(nameof(WalletsController.Payouts),
|
||||||
"Wallets",
|
"Wallets",
|
||||||
new { walletId = new WalletId(notification.StoreId, notification.PaymentMethod) }, _options.RootPath);
|
new { walletId = new WalletId(notification.StoreId, notification.PaymentMethod) }, _options.RootPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user