This commit is contained in:
Loretta 2025-11-14 17:56:39 +01:00
parent 8b9cf1ea8d
commit 66764b3dd5
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ FocusedRowChanged="Grid_FocusedRowChanged" *@
<EditSettings>
<DxComboBoxSettings Data="ShippingDocuments"
ValueFieldName="Id"
TextFieldName="@("Partner.Name")"
TextFieldName="@nameof(ShippingDocument.PdfFileName)"
DropDownBodyCssClass="dd-body-class"
ListRenderMode="ListRenderMode.Entire"
SearchMode="ListSearchMode.AutoSearch"

View File

@ -127,7 +127,7 @@
else
{
string? orderNote;
if (!(orderNote = SelectedOrder?.OrderNotes.FirstOrDefault()?.Note).IsNullOrWhiteSpace())
if (!(orderNote = SelectedOrder?.OrderNotes.LastOrDefault(x=>x.Note.StartsWith('*'))?.Note).IsNullOrWhiteSpace())
{
<div class="container-fluid p-0" style="margin-top: 20px">
<b> Megjegyzés: </b><span>@(orderNote) </span>