Feat: Adds multi currency to imports and exports (#89)
* Also adds ability for user to export configurations
This commit is contained in:
@@ -89,13 +89,13 @@ new class extends Component
|
||||
|
||||
<x-slot name="description">
|
||||
{{ __('Upload or recover your Investbrain portfolio and holdings.') }}
|
||||
<span class="text-xs text-secondary"><a href="#" title="{{ __('Click to download import template.') }}" @click="$wire.downloadTemplate()"> {{ __('Download import template.') }}</a></span>
|
||||
</x-slot>
|
||||
|
||||
<x-slot:form>
|
||||
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-file wire:model="file" label="{{ __('Select a file') }}" hint="" accept=".xlsx" required />
|
||||
<p class="mt-4 text-xs text-secondary leading-tight"><a href="#" title="{{ __('Click to download import template.') }}" @click="$wire.downloadTemplate()"> {{ __('Download import template.') }}</a></p>
|
||||
</div>
|
||||
|
||||
<x-dialog-modal wire:model.live="importStatusDialog" persistent>
|
||||
|
||||
@@ -40,7 +40,7 @@ new class extends Component
|
||||
|
||||
$this->validate();
|
||||
|
||||
$this->user->options = array_merge($this->user->options ?? [], [
|
||||
$this->user->setOption([
|
||||
'locale' => $this->locale,
|
||||
'display_currency' => $this->display_currency,
|
||||
]);
|
||||
@@ -51,7 +51,7 @@ new class extends Component
|
||||
|
||||
$this->dispatch('saved');
|
||||
|
||||
//$this->js('window.location.reload();');
|
||||
// $this->js('window.location.reload();');
|
||||
}
|
||||
}; ?>
|
||||
<x-forms.form-section submit="updateProfileInformation">
|
||||
|
||||
Reference in New Issue
Block a user