電站詳細頁 - 判斷金額顯示
This commit is contained in:
parent
995f7dc499
commit
59cb127300
@ -16,22 +16,25 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col card px-0 mx-2 my-2" style="min-width: 14rem; max-width: 14rem;">
|
||||
<div class="card-header bg-fusion-25 py-2 pr-3 d-flex align-items-center flex-wrap">
|
||||
<h4 class="mb-0 font-weight-bold"><span class="fal fa-dollar-sign mr-1"></span> <span id="money-card-title">發電金額</span></h4>
|
||||
<div class="ml-auto">NTD</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between">
|
||||
<p id="money-card-subtitle-avg">發電金額</p>
|
||||
<p><span class="color-info-700 fs-xl font-weight-bold" id="today_money">0.00</span></p>
|
||||
@if (ViewBag.myUser.Role.Auths.Contains("ShowMoney"))
|
||||
{
|
||||
<div class="col card px-0 mx-2 my-2" style="min-width: 14rem; max-width: 14rem;">
|
||||
<div class="card-header bg-fusion-25 py-2 pr-3 d-flex align-items-center flex-wrap">
|
||||
<h4 class="mb-0 font-weight-bold"><span class="fal fa-dollar-sign mr-1"></span> <span id="money-card-title">發電金額</span></h4>
|
||||
<div class="ml-auto">NTD</div>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between">
|
||||
<p id="money-card-subtitle-total">總發電金額</p>
|
||||
<p><span class="color-info-700 fs-xl font-weight-bold" id="total_money">0.00</span></p>
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between">
|
||||
<p id="money-card-subtitle-avg">發電金額</p>
|
||||
<p><span class="color-info-700 fs-xl font-weight-bold" id="today_money">0.00</span></p>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between">
|
||||
<p id="money-card-subtitle-total">總發電金額</p>
|
||||
<p><span class="color-info-700 fs-xl font-weight-bold" id="total_money">0.00</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
<div class="col card px-0 mx-2 my-2" style="min-width: 14rem; max-width: 14rem;">
|
||||
<div class="card-header bg-fusion-25 py-2 pr-3 d-flex align-items-center flex-wrap">
|
||||
<h4 class="mb-0 font-weight-bold"><span class="fal fa-sun mr-1"></span> 累積日照量</h4>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user