NASER disable tahesab functions

This commit is contained in:
gholak tala
2026-02-08 08:02:11 +00:00
parent 26d87a793f
commit cfb5b17ab7
4 changed files with 80 additions and 41 deletions
@@ -2,6 +2,7 @@
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Admin\TahesabController;
use App\Http\Controllers\Controller;
use App\Models\Cnt;
use App\Models\Customer;
@@ -160,6 +161,12 @@ class AuthController extends Controller
$data['active'] = true;
// Create customer
$customer = Customer::create($data);
// $tah = new TahesabController();
// return $tah->store([
// 'customer_id' => $customer->id,
// ]);
$message = "{$data['name']} عزیز، اکانت شما در پلتفرم {$this->Config('name_fa')} ایجاد شد.\nنام کاربری: {$data['mobile']}\n\nورود به نرم افزار:\n{$this->Config('app_url')}";
$this->Send($data['mobile'], $message);