ListCurrencyLogicClass

Currency Converter Logic Class
This commit is contained in:
CheeSiong
2020-12-02 17:31:00 +08:00
parent 0772c5d478
commit 5940fd16b0
12 changed files with 341 additions and 0 deletions
+8
View File
@@ -20,6 +20,14 @@ class CountriesTableSeeder extends Seeder
'phone_code' => '60',
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s'),
],
[
'id' => 2,
'name' => 'China',
'short_code' => 'CN',
'phone_code' => '852',
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s'),
]
]);
}
+10
View File
@@ -22,6 +22,16 @@ class CurrenciesTableSeeder extends Seeder
'selling' => 1,
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s')
],
[
'id' => 2,
'country_id' => 2,
'name' => 'Renminbi',
'short_code' => 'RMB',
'symbol' => '¥',
'selling' => 0.62,
'created_at' => date('Y-m-d H:i:s'),
'updated_at' => date('Y-m-d H:i:s')
]
]);
}