Add ability to set invoice status from details page (#2923)

* Add ability to set invoice status from details page

* Remove unnecessary "using" statements

* Add print styles

* Fix Safari issues

* Simplify JS

* Update status badge class names

* Update dropdown toggle padding

* Adjust dropdown menu padding
This commit is contained in:
Umar Bolatov
2021-10-05 22:49:57 -07:00
committed by GitHub
parent 150e4b842c
commit 31c2a80758
4 changed files with 79 additions and 9 deletions

View File

@@ -126,5 +126,8 @@ namespace BTCPayServer.Models.InvoicingModels
public bool Archived { get; set; }
public bool CanRefund { get; set; }
public bool ShowCheckout { get; set; }
public bool CanMarkComplete { get; set; }
public bool CanMarkInvalid { get; set; }
public bool CanMarkStatus => CanMarkComplete || CanMarkInvalid;
}
}