This commit is contained in:
Kukks
2023-10-18 09:56:52 +02:00
parent 8fda803158
commit aa6f9d2848
13 changed files with 124 additions and 41 deletions

View File

@@ -3,8 +3,7 @@
@model BTCPayServer.Models.InvoicingModels.PaymentModel
@{
const string id = "SideShift";
var storeId = Model.StoreId;
var settings = await SideShiftService.GetSideShiftForStore(storeId);
var settings = await SideShiftService.GetSideShiftForInvoice(Model.InvoiceId, Model.StoreId);
if (settings?.Enabled is true)
{