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:
parent
3d9755b906
commit
233d4257a9
@ -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()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user