mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 16:58:00 +01:00
* Add Lightning payout support * Adjust Greenfield API to allow other payment types for Payouts * Pull payment view: Improve payment method select * Pull payments view: Update JS * Pull payments view: Table improvements * Pull payment form: Remove duplicate name field * Cleanup Lightning branch after rebasing * Update swagger documnetation for Lightning support * Remove required requirement for amount in pull payments * Adapt Refund endpoint to support multiple playment methods * Support LNURL Pay for Pull Payments * Revert "Remove required requirement for amount in pull payments" This reverts commit 96cb78939d43b7be61ee2d257800ccd1cce45c4c. * Support Lightning address payout claims * Fix lightning claim handling and provide better error messages * Fix tests Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
24 lines
1,005 B
Text
24 lines
1,005 B
Text
@using BTCPayServer.Lightning
|
|
@model System.Collections.Generic.List<BTCPayServer.Data.Payouts.LightningLike.LightningLikePayoutController.ResultVM>
|
|
@{
|
|
Layout = "_Layout";
|
|
ViewData["Title"] = $"Lightning Payout Result";
|
|
}
|
|
<section>
|
|
<div class="container">
|
|
<h2 class="mb-4">@ViewData["Title"]</h2>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<ul class="list-group">
|
|
@foreach (var item in Model)
|
|
{
|
|
<li class="list-group-item d-flex justify-content-between align-items-center @(item.Result == PayResult.Ok ? "bg-success" : "bg-danger")">
|
|
<div class="text-break" title="@item.Destination">@item.Destination</div>
|
|
<span class="badge bg-secondary">@(item.Result == PayResult.Ok ? "Sent" : "Failed")</span>
|
|
</li>
|
|
}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|