Enhance FalukantService and UI components for improved product handling
- Updated FalukantService to allow optional inclusion of productType in queries, enhancing flexibility in data retrieval. - Modified SaleSection.vue to conditionally display product information and size, improving user experience by handling cases with no product. - Added new German translation for 'runningNoProduct' to enhance localization support for users.
This commit is contained in:
@@ -1014,7 +1014,7 @@ class FalukantService extends BaseService {
|
||||
include: [
|
||||
{ model: RegionData, as: 'sourceRegion', attributes: ['id', 'name'] },
|
||||
{ model: RegionData, as: 'targetRegion', attributes: ['id', 'name'] },
|
||||
{ model: ProductType, as: 'productType', attributes: ['id', 'labelTr'] },
|
||||
{ model: ProductType, as: 'productType', required: false, attributes: ['id', 'labelTr'] },
|
||||
{
|
||||
model: Vehicle,
|
||||
as: 'vehicle',
|
||||
|
||||
Reference in New Issue
Block a user