Small changes
This commit is contained in:
parent
dae09668b2
commit
19b5c7816a
|
@ -7,12 +7,10 @@ namespace Moonlight.App.Services.Background;
|
||||||
public class AutoMailSendService // This service is responsible for sending mails automatically
|
public class AutoMailSendService // This service is responsible for sending mails automatically
|
||||||
{
|
{
|
||||||
private readonly MailService MailService;
|
private readonly MailService MailService;
|
||||||
private readonly ConfigService ConfigService;
|
|
||||||
|
|
||||||
public AutoMailSendService(MailService mailService, ConfigService configService)
|
public AutoMailSendService(MailService mailService)
|
||||||
{
|
{
|
||||||
MailService = mailService;
|
MailService = mailService;
|
||||||
ConfigService = configService;
|
|
||||||
|
|
||||||
Events.OnUserRegistered += OnUserRegistered;
|
Events.OnUserRegistered += OnUserRegistered;
|
||||||
Events.OnServiceOrdered += OnServiceOrdered;
|
Events.OnServiceOrdered += OnServiceOrdered;
|
||||||
|
|
|
@ -66,7 +66,11 @@
|
||||||
TableHeadClass="fw-bold text-muted">
|
TableHeadClass="fw-bold text-muted">
|
||||||
<Column TableItem="Transaction" Title="" Field="@(x => x.Id)" Sortable="false" Filterable="false" Width="10%">
|
<Column TableItem="Transaction" Title="" Field="@(x => x.Id)" Sortable="false" Filterable="false" Width="10%">
|
||||||
<Template>
|
<Template>
|
||||||
@if (context.Price < 0)
|
@if (context.Price == 0)
|
||||||
|
{
|
||||||
|
<i class="bx bx-sm bx-circle text-info align-middle"></i>
|
||||||
|
}
|
||||||
|
else if (context.Price < 0)
|
||||||
{
|
{
|
||||||
<i class="bx bx-sm bx-minus text-danger align-middle"></i>
|
<i class="bx bx-sm bx-minus text-danger align-middle"></i>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue