Template:IMS Document control: Difference between revisions

No edit summary
Tags: Reverted 2017 source edit
No edit summary
Tags: Manual revert 2017 source edit
 
(5 intermediate revisions by 2 users not shown)
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|
{{!}}-  
{{!}}-  

Latest revision as of 15:51, 14 August 2024

Template for IMS Document control.