fbc9e21461
adding product from inventory page using modal show current product prices above history
41 lines
No EOL
1.8 KiB
Text
41 lines
No EOL
1.8 KiB
Text
@*
|
|
// Copyright (C) 2022 FCS Frede's Computer Services.
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License as
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program. If not, see [https://www.gnu.org/licenses/agpl-3.0.en.html]
|
|
//
|
|
*@
|
|
|
|
@* <div class="modal" tabindex="-1" role="dialog" style="display:@_modalDisplay"> *@
|
|
<div class="modal fade" tabindex="-1" style="display:@_modalDisplay">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header bg-info">
|
|
<h5 class="modal-title">Info</h5>
|
|
<button type="button" class="btn-close" @onclick="Hide" data-bs-dismiss="modal" aria-label="Luk"></button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="alert alert-info">
|
|
<p class="fw-bold">@BodyMessage</p>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" @onclick="Hide">Luk</button>
|
|
@* <button type="button" class="btn btn-primary" data-bs-dismiss="modal" @onclick="() => OnOkClicked.InvokeAsync()">OK</button> *@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@if (_showBackdrop)
|
|
{
|
|
<div class="modal-backdrop fade show"></div>
|
|
} |