<?php

$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['pageTitle'] = "Split imported document by invoice sign";

$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['fieldset'] = 'Split by invoice sign';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['label1'] = 'The current document will be split based on all associated invoices. The process is based on adding a new imported document, where the total value of the new and original docs will be tha same as the original document value. The original document will be associated only to the invoices with the same sign as the document itself and the other invoices will be grouped and associated to the new imported document.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['label2'] = 'The current imported document #%s (%s) has %s positive invoice(s) and %s negative invoice(s).';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['posInvoicesLabel'] = 'Positive invoices';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['negInvoicesLabel'] = 'Negative invoices';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['undistrbAmtLabel'] = 'Undistributed amount';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['form']['undistrbAmtTooltip'] = 'This amount is not associated to any invoice and will remain on the original document.';


$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['invalidId'] = 'Invalid imported document id.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['wrongDocSts'] = 'Only an imported document with the status `not processed` can be split.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['noAssocInv'] = 'The document does not have any associated invoices.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['unmatchedInv'] = 'Found an unmatched invoice associated on the document.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['multiMatchInv'] = 'Found an invoice with more than one matches - cannot decide which one should be considered.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['diffCurrInv'] = 'Found an invoice with a different currency than the imported document&#039;s - the document cannot be split.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['invStatusWrong'] = 'All associated invoices must be `not cashed` or `not paid`.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['notBothInvSigns'] = 'Cannot split the document as there should be both positive and negative invoices associated to the that document.';
$_LANG['Documents']['ImportedDocuments']['SplitByInvoiceSign']['index']['msgs']['saveOk'] = 'The document was successfully split.';

