Enhance invoice and self-serve logic with subuser support
- Add subuser ID management to `selfserve_lane_command_arguments`. - Update `invoice` function to include optional command arguments. - Attach metadata to orders with self-serve and subuser details. - Introduce `OTHER_TYPE_SELF_SERVE_WASH` in `attachment_content`.
This commit is contained in:
@@ -100,7 +100,7 @@ it('returns the extraordinary chemistry product with requires_note enabled', fun
|
||||
'price' => 299,
|
||||
'requires_note' => 0,
|
||||
]);
|
||||
$session = api_fixtures()->createUserSession(['list_products']);
|
||||
$session = api_fixtures()->createUserSession([], ['group_id' => 1]);
|
||||
|
||||
$response = api_client()->get('/products?id=' . $product['id'], $session['headers']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user