feat(tahesab,colleague): push app balance to Tahesab and always wait callback
Add admin decision to write app wallet onto Tahesab even when zero, always await colleague callback regardless of the wait switch, and SMS admins on colleague reject. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -627,8 +627,7 @@ class MontzarService
|
||||
];
|
||||
|
||||
if (
|
||||
$this->config()->getBool('montzar_order_wait_callback', true)
|
||||
&& isset($data['order'])
|
||||
isset($data['order'])
|
||||
&& $data['order'] instanceof Order
|
||||
) {
|
||||
$payload['callback'] = app(ColleagueOrderCallbackService::class)->callbackUrl((int) $data['order']->id);
|
||||
|
||||
Reference in New Issue
Block a user