1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Add currencies

This commit is contained in:
Hillel Coren 2019-02-19 11:47:29 +02:00
parent 88b972be4b
commit fa45a02134
3 changed files with 7 additions and 5 deletions

View File

@ -148,10 +148,6 @@ class InvoiceService extends BaseService
$quote->markApproved(); $quote->markApproved();
} }
if ($account->auto_archive_quote) {
$this->invoiceRepo->archive($quote);
}
return $invitation->invitation_key; return $invitation->invitation_key;
} }

View File

@ -99,6 +99,9 @@ class CurrenciesSeeder extends Seeder
['name' => 'Mauritian Rupee', 'code' => 'MUR', 'symbol' => 'Rs', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ['name' => 'Mauritian Rupee', 'code' => 'MUR', 'symbol' => 'Rs', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['name' => 'Cape Verdean Escudo', 'code' => 'CVE', 'symbol' => '', 'precision' => '2', 'thousand_separator' => '.', 'decimal_separator' => '$'], ['name' => 'Cape Verdean Escudo', 'code' => 'CVE', 'symbol' => '', 'precision' => '2', 'thousand_separator' => '.', 'decimal_separator' => '$'],
['name' => 'Kuwaiti Dinar', 'code' => 'KWD', 'symbol' => 'KD', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'], ['name' => 'Kuwaiti Dinar', 'code' => 'KWD', 'symbol' => 'KD', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['name' => 'Algerian Dinar', 'code' => 'DZD', 'symbol' => 'DA', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['name' => 'Macedonian Denar', 'code' => 'MKD', 'symbol' => 'den', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
['name' => 'Fijian Dollar', 'code' => 'FJD', 'symbol' => 'FJ$', 'precision' => '2', 'thousand_separator' => ',', 'decimal_separator' => '.'],
]; ];
foreach ($currencies as $currency) { foreach ($currencies as $currency) {

View File

@ -819,7 +819,7 @@ $LANG = array(
'archived_token' => 'Successfully archived token', 'archived_token' => 'Successfully archived token',
'archive_user' => 'Archive User', 'archive_user' => 'Archive User',
'archived_user' => 'Successfully archived user', 'archived_user' => 'Successfully archived user',
'archive_account_gateway' => 'Archive Gateway', 'archive_account_gateway' => 'Delete Gateway',
'archived_account_gateway' => 'Successfully archived gateway', 'archived_account_gateway' => 'Successfully archived gateway',
'archive_recurring_invoice' => 'Archive Recurring Invoice', 'archive_recurring_invoice' => 'Archive Recurring Invoice',
'archived_recurring_invoice' => 'Successfully archived recurring invoice', 'archived_recurring_invoice' => 'Successfully archived recurring invoice',
@ -2451,6 +2451,9 @@ $LANG = array(
'currency_mauritian_rupee' => 'Mauritian Rupee', 'currency_mauritian_rupee' => 'Mauritian Rupee',
'currency_cape_verdean_escudo' => 'Cape Verdean Escudo', 'currency_cape_verdean_escudo' => 'Cape Verdean Escudo',
'currency_kuwaiti_dinar' => 'Kuwaiti Dinar', 'currency_kuwaiti_dinar' => 'Kuwaiti Dinar',
'currency_algerian_dinar' => 'Algerian Dinar',
'currency_macedonian_denar' => 'Macedonian Denar',
'currency_fijian_dollar' => 'Fijian Dollar',
'review_app_help' => 'We hope you\'re enjoying using the app.<br/>If you\'d consider :link we\'d greatly appreciate it!', 'review_app_help' => 'We hope you\'re enjoying using the app.<br/>If you\'d consider :link we\'d greatly appreciate it!',
'writing_a_review' => 'writing a review', 'writing_a_review' => 'writing a review',