mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor tweaks
This commit is contained in:
parent
0ebf08c53d
commit
ed3d779bf1
@ -577,5 +577,6 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
|
||||
'converted' => 'Converted',
|
||||
|
||||
);
|
||||
|
@ -568,5 +568,7 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
);
|
||||
|
@ -575,6 +575,7 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
);
|
||||
|
@ -547,6 +547,8 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
|
||||
);
|
@ -568,5 +568,7 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
);
|
@ -570,5 +570,7 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
);
|
||||
|
@ -578,6 +578,8 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
|
||||
);
|
||||
|
@ -576,5 +576,7 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
);
|
@ -571,6 +571,8 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
|
||||
);
|
@ -559,5 +559,7 @@ return array(
|
||||
'password_recovery' => 'Password Recovery',
|
||||
'send_email' => 'Send email',
|
||||
'set_password' => 'Set Password',
|
||||
'converted' => 'Converted',
|
||||
|
||||
|
||||
);
|
||||
|
@ -20,6 +20,7 @@ class Mailer
|
||||
$fromEmail = NINJA_FROM_EMAIL;
|
||||
}
|
||||
|
||||
//$message->setEncoder(\Swift_Encoding::get8BitEncoding());
|
||||
$message->to($toEmail)->from($fromEmail, $fromName)->replyTo($replyEmail, $fromName)->subject($subject);
|
||||
});
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ class InvoiceRepository
|
||||
}
|
||||
|
||||
return $table->addColumn('due_date', function ($model) { return Utils::fromSqlDate($model->due_date); })
|
||||
->addColumn('invoice_status_name', function ($model) { return $model->invoice_status_name; })
|
||||
->addColumn('invoice_status_name', function ($model) { return $model->quote_invoice_id ? link_to("invoices/{$model->quote_invoice_id}/edit", trans('texts.converted')) : $model->invoice_status_name; })
|
||||
->addColumn('dropdown', function ($model) use ($entityType) {
|
||||
|
||||
if ($model->is_deleted) {
|
||||
|
@ -1,33 +1,32 @@
|
||||
<html>
|
||||
<body>
|
||||
<script type="application/ld+json">
|
||||
<body>
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context":"http://schema.org",
|
||||
"@type":"EmailMessage",
|
||||
"description":"Confirm your Invoice Ninja account",
|
||||
"action":
|
||||
{
|
||||
"@type":"ConfirmAction",
|
||||
"name":"Confirm Account",
|
||||
"@context": "http://schema.org",
|
||||
"@type": "EmailMessage",
|
||||
"action": {
|
||||
"@type": "ConfirmAction",
|
||||
"name": "Approve Expense",
|
||||
"handler": {
|
||||
"@type": "HttpActionHandler",
|
||||
"url": "{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}"
|
||||
}
|
||||
"url": "https://myexpenses.com/approve?expenseId=abc123"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
},
|
||||
"description": "Approval request for John's $10.13 expense for office supplies"
|
||||
}
|
||||
</script>
|
||||
|
||||
<h1>{{ trans('texts.confirmation_header') }}</h1>
|
||||
<h1>{{ trans('texts.confirmation_header') }}</h1>
|
||||
|
||||
<p>
|
||||
{{ $invitationMessage . trans('texts.confirmation_message') }}<br/>
|
||||
<a href='{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}'>
|
||||
{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}
|
||||
</a>
|
||||
<p/>
|
||||
<p>
|
||||
{{ $invitationMessage . trans('texts.confirmation_message') }}<br/>
|
||||
<a href='{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}'>
|
||||
{{{ URL::to("user/confirm/{$user->confirmation_code}") }}}
|
||||
</a>
|
||||
<p/>
|
||||
|
||||
{{ trans('texts.email_signature') }}<br/>
|
||||
{{ trans('texts.email_from') }}
|
||||
{{ trans('texts.email_signature') }}<br/>
|
||||
{{ trans('texts.email_from') }}
|
||||
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
@ -176,17 +176,17 @@
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="tab-pane active" id="notes" style="padding-bottom:44px">
|
||||
{{ Former::textarea('public_notes')->data_bind("value: wrapped_notes, valueUpdate: 'afterkeydown'")
|
||||
->label(null)->style('resize: none; min-width: 460px;')->rows(3) }}
|
||||
->label(null)->style('resize: none; min-width: 450px;')->rows(3) }}
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="terms">
|
||||
{{ Former::textarea('terms')->data_bind("value:wrapped_terms, placeholder: default_terms, valueUpdate: 'afterkeydown'")
|
||||
->label(false)->style('resize: none; min-width: 460px')->rows(3)
|
||||
->label(false)->style('resize: none; min-width: 450px')->rows(3)
|
||||
->help('<label class="checkbox" style="width: 200px">
|
||||
<input type="checkbox" style="width: 24px" data-bind="checked: set_default_terms"/>'.trans('texts.save_as_default_terms').'</label>') }}
|
||||
</div>
|
||||
<div role="tabpanel" class="tab-pane" id="footer">
|
||||
{{ Former::textarea('invoice_footer')->data_bind("value:wrapped_footer, placeholder: default_footer, valueUpdate: 'afterkeydown'")
|
||||
->label(false)->style('resize: none; min-width: 460px')->rows(3)
|
||||
->label(false)->style('resize: none; min-width: 450px')->rows(3)
|
||||
->help('<label class="checkbox" style="width: 200px">
|
||||
<input type="checkbox" style="width: 24px" data-bind="checked: set_default_footer"/>'.trans('texts.save_as_default_footer').'</label>') }}
|
||||
</div>
|
||||
@ -300,7 +300,7 @@
|
||||
@if (!$invoice || (!$invoice->trashed() && !$invoice->client->trashed()))
|
||||
@if ($invoice && $invoice->id)
|
||||
|
||||
<div id="primaryActions" style="text-align:left" class="btn-group">
|
||||
<div id="primaryActions" style="text-align:left" class="btn-group dropup">
|
||||
<button class="btn-success btn" type="button">{{ trans("texts.save_{$entityType}") }}</button>
|
||||
<button class="btn-success btn dropdown-toggle" type="button" data-toggle="dropdown">
|
||||
<span class="caret"></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user