@vtfk/elev-varsel-generate-document-title
v2.3.5
Published
Generates document title for varsel and elevsamtale
Downloads
8
Readme
elev-varsel-generate-document-title
Generates document title for elev varsel
Usage
Input document object and untOff (boolean).
untOff = true => Includes students name
const data = require('./document.json')
const generateTitle = require('./index')
console.log(generateTitle(data, true))
//=> Varsel - fag - 3GKJ/876ABC2003 - Tomato Sauce - LARVS:3GKJ - Standpunktkarakter - 2016/2017
console.log(generateTitle(data, false))
//=> Varsel - fag - 3GKJ/876ABC2003 - LARVS:3GKJ - Standpunktkarakter - 2016/2017