mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
bump, add field to know if replaced
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||||
<Version>1.0.0.62</Version>
|
<Version>1.0.0.63</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="Build\dockerfiles\**" />
|
<Compile Remove="Build\dockerfiles\**" />
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ namespace BTCPayServer.Controllers
|
|||||||
m.TransactionId = payment.Outpoint.Hash.ToString();
|
m.TransactionId = payment.Outpoint.Hash.ToString();
|
||||||
m.ReceivedTime = payment.ReceivedTime;
|
m.ReceivedTime = payment.ReceivedTime;
|
||||||
m.TransactionLink = string.Format(paymentNetwork.BlockExplorerLink, m.TransactionId);
|
m.TransactionLink = string.Format(paymentNetwork.BlockExplorerLink, m.TransactionId);
|
||||||
|
m.Replaced = !payment.Accounted;
|
||||||
return m;
|
return m;
|
||||||
})
|
})
|
||||||
.ToArray();
|
.ToArray();
|
||||||
|
|||||||
@@ -48,6 +48,8 @@ namespace BTCPayServer.Models.InvoicingModels
|
|||||||
get;
|
get;
|
||||||
set;
|
set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool Replaced { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string StatusMessage
|
public string StatusMessage
|
||||||
|
|||||||
@@ -178,6 +178,7 @@
|
|||||||
<th>Deposit address</th>
|
<th>Deposit address</th>
|
||||||
<th>Transaction Id</th>
|
<th>Transaction Id</th>
|
||||||
<th>Confirmations</th>
|
<th>Confirmations</th>
|
||||||
|
<th>Replaced</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -189,6 +190,7 @@
|
|||||||
<td>@payment.DepositAddress</td>
|
<td>@payment.DepositAddress</td>
|
||||||
<td><a href="@payment.TransactionLink" target="_blank">@payment.TransactionId</a></td>
|
<td><a href="@payment.TransactionLink" target="_blank">@payment.TransactionId</a></td>
|
||||||
<td>@payment.Confirmations</td>
|
<td>@payment.Confirmations</td>
|
||||||
|
<td>@payment.Replaced</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user