m (1 revision imported) |
Demo writer (talk | contribs) No edit summary Tags: Reverted 2017 source edit |
||
Line 36: | Line 36: | ||
!Valid: | !Valid: | ||
|{{#if:{{{validFrom|}}}|[[IMS Valid from::{{#time:d.m.Y|{{{validFrom|}}}}}]] to |}} {{#if:{{{validUntil|}}}|{{#set:IMS Valid until={{{validUntil}}}}}{{#time:d.m.Y|{{{validUntil|}}}}} {{#invoke:IndicatorProcess|forDate|{{{validUntil|}}}}}|{{#ifeq: {{#show:{{FULLPAGENAME}}|?QM/Document state}}|First draft|Not valid|{{#set:IMS Valid until={{#var:validUntil}}}} {{#show:{{FULLPAGENAME}}|?IMS Valid until#-F[d.m.Y]}} {{#invoke:IndicatorProcess|forDate|{{#var:validUntil}}}}}}}} | |{{#if:{{{validFrom|}}}|[[IMS Valid from::{{#time:d.m.Y|{{{validFrom|}}}}}]] to |}} {{#if:{{{validUntil|}}}|{{#set:IMS Valid until={{{validUntil}}}}}{{#time:d.m.Y|{{{validUntil|}}}}} {{#invoke:IndicatorProcess|forDate|{{{validUntil|}}}}}|{{#ifeq: {{#show:{{FULLPAGENAME}}|?QM/Document state}}|First draft|Not valid|{{#set:IMS Valid until={{#var:validUntil}}}} {{#show:{{FULLPAGENAME}}|?IMS Valid until#-F[d.m.Y]}} {{#invoke:IndicatorProcess|forDate|{{#var:validUntil}}}}}}}} | ||
{{#vardefineecho:validUntil|{{#time:d.m.Y|{{#show:{{FULLPAGENAME}}|? QM/Approval date#-F[d.m.Y]}} + 366days}}}} | |||
{{#ifeq: {{{documentType}}}|Work instruction| | {{#ifeq: {{{documentType}}}|Work instruction| | ||
{{!}}- | {{!}}- |
Revision as of 11:23, 14 June 2024
Template for IMS Document control.