Include trade in type and container size to battery info rider api call #783

This commit is contained in:
Ramon Gutierrez 2024-02-22 16:08:36 +08:00
parent 010bdca458
commit 7a5583d840

View file

@ -1191,6 +1191,8 @@ class RiderAppController extends ApiController
'id' => $sap_battery->getID(),
'brand' => $sap_battery->getBrand()->getName(),
'size' => $sap_battery->getSize()->getName(),
'size_id' => $sap_battery->getSize()->getID(),
'trade_in_type' => TradeInType::MOTOLITE,
'container_size' => $sap_battery->getContainerSize()->getName(),
];