fix(shayegan): build the account number as moin plus customer id
Customer 530 with moin 12101 is sent as 12101530 again. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -121,8 +121,8 @@ class ShayeganSyncService
|
||||
$name = 'مشتری ' . $customer->id;
|
||||
}
|
||||
|
||||
// تفصیلی = کد کاربری + معین. مثال: مشتری 530 و معین 12101 → 53012101
|
||||
$requestedAccountNumber = ((string) (int) $customer->id) . $moinRaw;
|
||||
// تفصیلی = معین + کد کاربری. مثال: معین 12101 و مشتری 530 → 12101530
|
||||
$requestedAccountNumber = $moinRaw . ((string) (int) $customer->id);
|
||||
|
||||
$guid = (string) Str::uuid();
|
||||
$put = [[
|
||||
|
||||
Reference in New Issue
Block a user