feat: add checkout editing policy to tenants and update related logic across services and resources
This commit is contained in:
@@ -51,7 +51,13 @@ class AdminAppSaleService
|
||||
{
|
||||
return Purchase::query()
|
||||
->where('tenant_codigo', $tenant->codigo)
|
||||
->with('items')
|
||||
->with([
|
||||
'items',
|
||||
'cart.items.catalogItem',
|
||||
'cart.items.variant.catalogItem',
|
||||
'cart.items.variant.eventDates',
|
||||
'cart.items.variant.eventDate',
|
||||
])
|
||||
->findOrFail($saleId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user