booking_auth_dev
wet 2 years ago
commit f6178b7b11

@ -1163,7 +1163,7 @@ namespace Myshipping.Application
throw Oops.Bah(BookingErrorCode.BOOK001);
}
var printTemplate = _repPrintTemplate.FirstOrDefault(x => x.TenantId == order.TenantId && x.TypeCode == typeCode);
var printTemplate = await _repPrintTemplate.AsQueryable().Filter(null, true).FirstAsync(x => x.TenantId == order.TenantId && x.TypeCode == typeCode);
if (printTemplate == null)
{
throw Oops.Bah(BookingErrorCode.BOOK115);

Loading…
Cancel
Save