1
0
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:
David Bomba 2023-11-29 00:35:17 +11:00
parent 367715583f
commit 7681e58fbc
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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>