<?php

$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['pageTitle'] = "Issue documents setup";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['text'] = "Text";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['textTooltip'] = "The text filter will search in the document code, document name and document category.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['pivot'] = "Pivot";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['active'] = "Active";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['active_0'] = "inactive";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['active_1'] = "active";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['filters']['active_2'] = "= all =";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['order'] = "Order";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['service'] = "Service";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['invoice'] = "Invoice";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['cashing'] = "Cashing doc";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['cashBookDoc'] = "Cashbook doc";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['payment'] = "Payment doc";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['importedService'] = "Imported service";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['importedDocument'] = "Imported document";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['pivotName']['balance'] = "Balance";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['name'] = "Doc name";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['pivot'] = "Pivot";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['docCategory'] = "Category";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['mainDocOnPivot'] = "Main";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['docNumberType'] = "Number";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['docDate'] = "Date";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['listCols']['flags'] = "Services and flags";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['docNumberType']['pivotSeries'] = "Pivot series";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['docNumberType']['chooseSeries'] = "Chosen series";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['docNumberType']['manualNumber'] = "Manual number";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['docNumberType']['pivotNumber'] = "Pivot number";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['docDate']['today'] = "Current date";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['docDate']['pivotDate'] = "Pivot date";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['docDate']['manual'] = "Manual";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['flags']['maxGenerationCount'] = "Max gen. count";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['flags']['autoGenerateFirstCopy'] = "Auto-gen first copy";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['flags']['printOriginalOnce'] = "Print original once";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['flags']['forceSameTemplate'] = "Force same doc template";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['flags']['indicateCopy'] = "Indicate copy";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['numberReuse']['1'] = "reuse number";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['numberReuse']['0'] = "new number";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fieldsets']['details'] = 'Doc type details';
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fieldsets']['flags'] = 'Special flags';
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['name'] = "Name";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['nameTooltip'] = "The name of the issue document type. Choose a short but relevant name to work with.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['id'] = "Code";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['idTooltip'] = "Type the doc type code and keep in mind that it cannot be updated afterwards as it may have been used. It is recommended that you use a meaningful document code.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['active'] = "Active";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['pivot'] = "Pivot";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docCategory'] = "Category";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docCatTooltip'] = "Indicates the association between the current issue document and the parent document type; it is filled in with the parent document code (depending on the selected pivot). For example, the issue document `cashing_receipt` is linked to the cashing document `receipt`.)";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['main'] = "Main doc.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['mainTooltip'] = "A main document on pivot represents a document that when generated (issued) for the first time on a pivot it will mark the pivot as `issued`. This option works only on certain pivots that have a set of issue details fields (eg. invoice, cashing, etc)";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docNumberType'] = "Number type";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docNumberTypeTooltip'] = "The field indicates how the type of document number is managed - it is important to correctly correlate this option with the pivot settings (eg. cashing/payment documents have settings of their own regarding the document number). Also, note that the issuance of a document may overwrite the previously document number (if manually set on the pivot).";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docNumberTypeTooltip1'] = "`Choose series` indicates that, when generated, the user will be requested to select a series previously added in the system. ";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docNumberTypeTooltip2'] = "In `Pivot series` the series is already associated on the pivot and is automatically applied without allowing the use to change it.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docNumberTypeTooltip3'] = "`Manual number` indicates that the user is requested to input the document number before the document is generated.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docNumberTypeTooltip4'] = "`Pivot number` is used when you want to get the document number from the pivot, without allowing the user to change it.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['numberReuse'] = "Doc. number reuse";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['numberReuseTooltip'] = "Indicates if the document number is reused for multiple issues (makes sense only for numbers managed by series). If checked, the document number will be generated from the series only the first time and if multiple documents of the same type are generated they will reuse that number without consuming other numbers from the series. If not checked, the document issuance will always get a new number from the series. ";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docDate'] = "Doc. date";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['serviceTypes'] = "Service types";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['docDateTooltip'] = "Indicates how the document date is chosen for the current document. `Current date` will use the current/system date as the document date. `Manual` indicates that the user will be requested to input the document date when the document is generated. Use `pivot date` when you want to automatically select the document date from the pivot date (makes sense only for pivots that have an associated date, eg. invoices, cashing/payment docs, etc).";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['maxGenerationCount'] = "Max generation count";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['maxGenerationCountTooltip'] = "Indicates how many documents of the current type can be issued on a pivot. Leave blank or 0 to ignore this limit.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['autoGenerateFirstCopy'] = "Auto-generate first copy";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['autoGenerateFirstCopyTooltip'] = "Indicates that when the first document is generated, the second one, which will be the first copy, will also be generated.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['printOriginalOnce'] = "Print original once";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['printOriginalOnceTooltip'] = "The original document is allowed to be printed only once; this affects the view, download and email options which will be disabled for the original doc. All other docs (copies) have all the options available";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['forceSameTemplate'] = "Force same template";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['forceSameTemplateTooltip'] = "This option indicates that all documents generated after the first one will use the same document template used on the first document.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['indicateCopy'] = "Indicate doc. copy";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['form']['fields']['indicateCopyTooltip'] = "In the `generate document` module the `copy` text is displayed next to all generated documents, but the first one.";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['insert']['pageTitle'] = "Add new issue document type";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['insert']['successMessage'] = "The document type has been successfully added.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['insert']['errorMessage'] = "An error was encountered while trying to add new document type. The returned error message is: '%s'";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['update']['pageTitle'] = "Update a document type";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['update']['successMessage'] = "The document type has been successfully updated.";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['update']['errorMessage'] = "An error was encountered while trying to update a  document type. The returned error message is: '%s'";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['moveUp']['successMessage'] = "The doc types have been moved up";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['moveDown']['successMessage'] = "The doc types have been moved down";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['moveUp']['cannotMoveUp'] = "You cannot move the element up";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['moveDown']['cannotMoveDown'] = "You cannot move the element down";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['reset']['confirmation'] = "Are you sure you want to reset the changes?";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['reset']['successMessage'] = "The changes were reset.";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['save']['confirmation'] = "Do you want to save the document types?";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['save']['successMessage'] = "The document types were successfully saved.";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['delete']['confirmation']="Are you sure you want to delete the doc type?";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['delete']['successMessage']="The document type has been deleted";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['delete']['cannotDeletePrevDoc'] = "You can only delete newly added doc. types.";

$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['insert'] = "Add new document type";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['update'] = "Update document type";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['delete'] = "Delete document type";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['moveUp'] = "Move up";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['moveDown'] = "Move down";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['reset'] = "Reset changes";
$_LANG['Admin']['Config']['Documents']['IssueDocs']['index']['options']['save'] = "Save all changes";

