Retail:Developers Guide/How-to/Remove Document No Separator
Introduction
In Web POS, Document no separator should be allowed to customise. By default Document no separator is hardcoded as “/”. Eg:
<Doc Type Prefix> + “/” + <Sequential number>
But if this separator is not needed or needs to be changed, it should be customised. Also it should allow to have different Document no separator for different documents like Sales, Quotation and Return.
Removing the slash character separator
If the Document no separator needs to be changed, then the default Document no separator should be removed and new separator can be appended to the document.
To remove it you must create a new module and add the following javascript line:
OB.Model.Order.prototype.includeDocNoSeperator = false;
This is the result: