1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Support manually importing OFX files

This commit is contained in:
Hillel Coren 2016-05-15 14:06:25 +03:00
parent b067697b1c
commit 46cf89361f
2 changed files with 9 additions and 5 deletions

View File

@ -200,7 +200,7 @@ class BankAccountService extends BaseService
$field => $info,
'name' => $vendorName,
'transaction_name' => $transaction['vendor_orig'],
'vendorcontact' => [],
'vendor_contact' => [],
]);
$vendorMap[$key] = $vendor;
$vendorMap[$transaction['vendor_orig']] = $vendor;

View File

@ -17,10 +17,14 @@
{!! Former::file("ofx_file") !!}
{!! Former::actions( Button::info(trans('texts.upload'))->submit()->large()->appendIcon(Icon::create('open'))) !!}
{!! Former::close() !!}
</div>
</div>
</div>
</div>
{!! Former::actions(
Button::normal(trans('texts.cancel'))->large()->asLinkTo(URL::to('settings/bank_accounts'))->appendIcon(Icon::create('remove-circle')),
Button::success(trans('texts.upload'))->submit()->large()->appendIcon(Icon::create('open'))
) !!}
{!! Former::close() !!}
@stop