Changes between Version 12 and Version 13 of UseCaseModel/ShipmentDetails


Ignore:
Timestamp:
01/16/25 11:19:47 (6 days ago)
Author:
153093
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UseCaseModel/ShipmentDetails

    v12 v13  
    2222    p.payment_status AS PaymentStatus,
    2323    CONCAT(e.employee_name, ' ', e.employee_surname) AS EmployeeFullName,
    24     CONCAT(v.make, ' ', v.model, ' (', v.registration, ')') AS VehicleInfo,
     24    CONCAT(vd.make, ' ', vd.model, ' (', v.registration, ')') AS VehicleInfo,
    2525    TO_CHAR(s.shipment_date, 'DD-MM-YYYY') AS ShipmentDate,
    2626    COUNT(DISTINCT sl.customer_id) AS NumberOfCustomers,
     
    3838JOIN employee e ON s.employee_id = e.employee_id
    3939JOIN vehicle v ON s.vehicle_id = v.vehicle_id
     40join vehicle_details vd on vd.vehicle_details_id = v.vehicle_details_id
    4041JOIN shipment_load sl ON s.shipment_id = sl.shipment_id
    4142LEFT JOIN (SELECT shipment_id, SUM(amount) AS shipment_expenses FROM shipment_has_expense_of_expense_type GROUP BY shipment_id) ex ON s.shipment_id = ex.shipment_id
    42 WHERE s.shipment_id = {int.Parse(shipmentId)}
     43WHERE s.shipment_id = 1
    4344GROUP BY
    4445    s.shipment_id,
     
    4647    e.employee_name,
    4748    e.employee_surname,
    48     v.make,
    49     v.model,
     49    vd.make,
     50    vd.model,
    5051    v.registration,
    5152    s.shipment_date,