skeleton for import export
This commit is contained in:
@@ -14,8 +14,7 @@
|
|||||||
|
|
||||||
<!-- Name -->
|
<!-- Name -->
|
||||||
<div class="col-span-6 sm:col-span-4">
|
<div class="col-span-6 sm:col-span-4">
|
||||||
{{-- <x-file wire:model="file" label="Receipt" hint="Only PDF" accept="application/pdf" /> --}}
|
@livewire('import-portfolios-field')
|
||||||
<input type="file" />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</x-slot>
|
</x-slot>
|
||||||
@@ -23,7 +22,7 @@
|
|||||||
<x-slot name="actions">
|
<x-slot name="actions">
|
||||||
|
|
||||||
<x-button type="submit">
|
<x-button type="submit">
|
||||||
{{ __('Save') }}
|
{{ __('Import') }}
|
||||||
</x-button>
|
</x-button>
|
||||||
</x-slot>
|
</x-slot>
|
||||||
</x-forms.form-section>
|
</x-forms.form-section>
|
||||||
@@ -45,9 +44,8 @@
|
|||||||
|
|
||||||
<!-- Name -->
|
<!-- Name -->
|
||||||
<div class="col-span-6 sm:col-span-4">
|
<div class="col-span-6 sm:col-span-4">
|
||||||
<x-button type="submit">
|
@livewire('export-portfolios-button')
|
||||||
{{ __('Download Export') }}
|
|
||||||
</x-button>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Livewire\Volt\Component;
|
||||||
|
use Mary\Traits\Toast;
|
||||||
|
|
||||||
|
new class extends Component {
|
||||||
|
use Toast;
|
||||||
|
|
||||||
|
// props
|
||||||
|
|
||||||
|
|
||||||
|
// methods
|
||||||
|
public function mount()
|
||||||
|
{
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}; ?>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<x-button type="submit">
|
||||||
|
{{ __('Download Export') }}
|
||||||
|
</x-button>
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Livewire\Volt\Component;
|
||||||
|
use Mary\Traits\Toast;
|
||||||
|
|
||||||
|
new class extends Component {
|
||||||
|
use Toast;
|
||||||
|
|
||||||
|
// props
|
||||||
|
public $file;
|
||||||
|
|
||||||
|
// methods
|
||||||
|
public function mount()
|
||||||
|
{
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
}; ?>
|
||||||
|
|
||||||
|
<x-file wire:model="file" label="Select a file" hint="" accept="application/pdf" required />
|
||||||
Reference in New Issue
Block a user