This commit is contained in:
2025-11-16 16:31:16 +05:00
parent c1b3a58c3a
commit 5a37d56cfb
2 changed files with 21 additions and 21 deletions

View File

@@ -25,9 +25,7 @@ class PayVisaMasterPaymentAction
->schema(function () {
$usd_to_tmt = floatval(CurrencyRate::where('currency_from', 'USD')->where('currency_to', 'TMT')->first('value')?->value);
$payment_warning_text = VisaMasterSettings::where('name', 'payment_warning_text')->first();
if (! $usd_to_tmt || ! $payment_warning_text) {
if (! $usd_to_tmt) {
return [];
}

View File

@@ -8,6 +8,7 @@ return new class extends Migration
{
public function up(): void
{
if (! Schema::hasTable('media')) {
Schema::create('media', function (Blueprint $table) {
$table->id();
@@ -29,4 +30,5 @@ return new class extends Migration
$table->nullableTimestamps();
});
}
}
};