mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Proposals
This commit is contained in:
parent
76e5001826
commit
cfb2db17b9
@ -66,6 +66,7 @@ class ProposalTemplateController extends BaseController
|
||||
$customTemplates = ProposalTemplate::scope()->orderBy('name')->get();
|
||||
$defaultTemplates = ProposalTemplate::whereNull('account_id')->orderBy('public_id')->get();
|
||||
|
||||
$options = [];
|
||||
$customLabel = trans('texts.custom');
|
||||
$defaultLabel = trans('texts.default');
|
||||
|
||||
|
@ -59,9 +59,11 @@
|
||||
->appendIcon(Icon::create('remove-circle'))
|
||||
->asLinkTo(HTMLUtils::previousUrl('/proposals')) !!}
|
||||
|
||||
{!! Button::primary(trans('texts.download'))
|
||||
->withAttributes(['onclick' => 'onDownloadClick()'])
|
||||
->appendIcon(Icon::create('download-alt')) !!}
|
||||
@if ($proposal)
|
||||
{!! Button::primary(trans('texts.download'))
|
||||
->withAttributes(['onclick' => 'onDownloadClick()'])
|
||||
->appendIcon(Icon::create('download-alt')) !!}
|
||||
@endif
|
||||
|
||||
{!! Button::success(trans("texts.save"))
|
||||
->withAttributes(['id' => 'saveButton'])
|
||||
|
@ -46,13 +46,15 @@
|
||||
|
||||
<center class="buttons">
|
||||
|
||||
{!! Former::select()
|
||||
->style('display:inline;width:170px;background-color:white !important')
|
||||
->placeholder(trans('texts.load_template'))
|
||||
->onchange('onTemplateSelectChange()')
|
||||
->addClass('template-select')
|
||||
->options($templateOptions)
|
||||
->raw() !!}
|
||||
@if (count($templateOptions))
|
||||
{!! Former::select()
|
||||
->style('display:inline;width:170px;background-color:white !important')
|
||||
->placeholder(trans('texts.load_template'))
|
||||
->onchange('onTemplateSelectChange()')
|
||||
->addClass('template-select')
|
||||
->options($templateOptions)
|
||||
->raw() !!}
|
||||
@endif
|
||||
|
||||
@include('proposals.grapesjs_help')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user