update auth

This commit is contained in:
pbao9
2025-08-05 08:58:40 +07:00
parent fc277e5ef6
commit 1a9ade38e8
6 changed files with 81 additions and 54 deletions
+7
View File
@@ -65,6 +65,13 @@ if (!function_exists('customer')) {
}
}
if (!function_exists('user')) {
function user()
{
return Auth::guard('users')->user();
}
}
if (!function_exists('generate_order_number')) {
/**
* Generate a unique order number with given prefix