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
@@ -18,6 +18,7 @@ use Rooyesh\Wallet\models\Transaction;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Http;
use App\Models\Setting;
use App\Http\Controllers\Admin\TahesabController;
//use App\Models\Price;
@@ -102,6 +103,9 @@ class CustomerController extends Controller
$updateData['credential_id'] = $request->credential_id;
}
$customer->update($updateData);
// $tah = new TahesabController();
// $tah->store(["customer_id" => $customer->id]);
if (!$customer->is_legal) {
$response = Http::withHeaders([