mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Minor fixes for translations
This commit is contained in:
parent
367715583f
commit
7681e58fbc
@ -45,12 +45,12 @@ class DesignPreviewRequest extends Request
|
||||
public function rules()
|
||||
{
|
||||
$rules = [
|
||||
'entity_type' => 'bail|required|in:invoice,quote,credit,purchase_order',
|
||||
'entity_type' => 'bail|required|in:invoice,quote,credit,purchase_order,statement,payment_receipt,payment_refund,delivery_note',
|
||||
'settings_type' => 'bail|required|in:company,group,client',
|
||||
'settings' => 'sometimes',
|
||||
'group_id' => 'sometimes',
|
||||
'client_id' => 'sometimes',
|
||||
'design' => 'bail|sometimes|array'
|
||||
'design' => 'bail|sometimes|array',
|
||||
];
|
||||
|
||||
return $rules;
|
||||
|
@ -97,8 +97,7 @@
|
||||
<div class="two-col-grid" style="">
|
||||
<ninja>
|
||||
<div class="pull-left">
|
||||
<h1 class="primary-color-highlight" style="margin-top:0;">$receipt_label {%if payments|length ==
|
||||
1%}#$number{% endif %}</h2>
|
||||
<h1 class="primary-color-highlight" style="margin-top:0;">$receipt_label {%if payments|length == 1%}#$number{% endif %}</h2>
|
||||
</div>
|
||||
</ninja>
|
||||
<div class="pull-right"><img src="$company.logo" class="company-logo"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user