fix: renamed ref -> uuid when a new basket is created
This commit is contained in:
parent
cfd7b828da
commit
22bb989ed6
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class BasketController extends Controller
|
|||
}
|
||||
} else {
|
||||
$basket = new Basket();
|
||||
$basket->ref = (string) Str::uuid();
|
||||
$basket->uuid = (string) Str::uuid();
|
||||
$basket->campagne()->associate($refcamp);
|
||||
$basket->customer()->associate($customer);
|
||||
$basket->save();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue