1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Update Singapore Dollar Symbol

This commit is contained in:
Ween Jiann 2021-01-07 10:33:56 +08:00 committed by GitHub
parent 3d9755b906
commit 233d4257a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,35 @@
<?php
use App\Models\Currency;
use App\Utils\Traits\AppSetup;
use Illuminate\Database\Migrations\Migration;
class UpdateSingaporeDollarSymbol extends Migration
{
use AppSetup;
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$currency = Currency::find(13);
if ($currency) {
$currency->update(['symbol' => '$']);
}
$this->buildCache(true);
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}