mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Clarify JSON import/export help
This commit is contained in:
parent
e9a5d60d7f
commit
547a8e80b9
@ -2227,6 +2227,8 @@ $LANG = array(
|
||||
'entity_state' => 'State',
|
||||
'payment_status_name' => 'Status',
|
||||
'client_created_at' => 'Date Created',
|
||||
'json_import_help' => 'We recommend importing into an empty account.'
|
||||
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
@ -32,7 +32,8 @@
|
||||
|
||||
@foreach (\App\Services\ImportService::$entityTypes as $entityType)
|
||||
{!! Former::file("{$entityType}_file")
|
||||
->addGroupClass("import-file {$entityType}-file") !!}
|
||||
->addGroupClass("import-file {$entityType}-file")
|
||||
->help($entityType == IMPORT_JSON ? '<br/>' . trans('texts.json_import_help') : false) !!}
|
||||
@endforeach
|
||||
|
||||
{!! Former::actions( Button::info(trans('texts.upload'))->submit()->large()->appendIcon(Icon::create('open'))) !!}
|
||||
@ -54,7 +55,7 @@
|
||||
->addOption('XLS', 'XLS')
|
||||
->addOption('JSON', 'JSON')
|
||||
->style('max-width: 200px')
|
||||
->inlineHelp('export_help') !!}
|
||||
->help('<br/>' . trans('texts.export_help')) !!}
|
||||
|
||||
|
||||
{!! Former::inline_radios('include_radio')
|
||||
|
Loading…
x
Reference in New Issue
Block a user