NASER fix sms text for charge wallet and product pricing

This commit is contained in:
gholak tala
2026-01-25 09:58:32 +00:00
parent eb26afbcb3
commit 40e78212e5
2 changed files with 4 additions and 4 deletions
@@ -120,10 +120,10 @@ class WalletController extends Controller
$data['direction'] = 0;
// $tahesab = new TahesabController();
// $tahesab->wallet($data);
$message = 'کیف پول شما به اندازه ' . number_format($data['value']) . " ریال در تاریخ " . verta()->format('Y/n/j H:i:s') . " اصلاح شد بابت" . "\n"
$status = $data['value'] > 0 ?" شارژ شد ": " کسر شد ";
$message = 'کیف پول شما به اندازه ' . number_format(abs($data['value'])) . " ریال در تاریخ " . verta()->format('Y/n/j H:i:s') .$status . "بابت" . "\n"
. $data['note']
. " "
. "\n"
. $this->Config('name_fa');
$this->Send($customer->mobile, $message);
return response()->json(true);