@@ -786,7 +786,7 @@ discard block |
||
786 | 786 | return $this->LibStatut($this->status, $mode); |
787 | 787 | } |
788 | 788 | |
789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
790 | 790 | /** |
791 | 791 | * Return the status |
792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | */ |
797 | 797 | public function LibStatut($status, $mode = 0) |
798 | 798 | { |
799 | - // phpcs:enable |
|
799 | + // phpcs:enable |
|
800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
801 | 801 | global $langs; |
802 | 802 | //$langs->load("hrm"); |
@@ -786,7 +786,7 @@ discard block |
||
786 | 786 | return $this->LibStatut($this->status, $mode); |
787 | 787 | } |
788 | 788 | |
789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
790 | 790 | /** |
791 | 791 | * Return the status |
792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | */ |
797 | 797 | public function LibStatut($status, $mode = 0) |
798 | 798 | { |
799 | - // phpcs:enable |
|
799 | + // phpcs:enable |
|
800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
801 | 801 | global $langs; |
802 | 802 | //$langs->load("hrm"); |
@@ -873,7 +873,7 @@ discard block |
||
873 | 873 | return $this->LibStatut($this->status, $mode); |
874 | 874 | } |
875 | 875 | |
876 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
876 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
877 | 877 | /** |
878 | 878 | * Return the status |
879 | 879 | * |
@@ -887,7 +887,7 @@ discard block |
||
887 | 887 | $status = 0; |
888 | 888 | } |
889 | 889 | |
890 | - // phpcs:enable |
|
890 | + // phpcs:enable |
|
891 | 891 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
892 | 892 | global $langs; |
893 | 893 | //$langs->load("hrm"); |
@@ -638,7 +638,7 @@ discard block |
||
638 | 638 | return $this->LibStatut($this->status, $mode); |
639 | 639 | } |
640 | 640 | |
641 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
641 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
642 | 642 | /** |
643 | 643 | * Return the status |
644 | 644 | * |
@@ -648,7 +648,7 @@ discard block |
||
648 | 648 | */ |
649 | 649 | public function LibStatut($status, $mode = 0) |
650 | 650 | { |
651 | - // phpcs:enable |
|
651 | + // phpcs:enable |
|
652 | 652 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
653 | 653 | global $langs; |
654 | 654 | //$langs->load("mymodule"); |
@@ -786,7 +786,7 @@ discard block |
||
786 | 786 | return $this->LibStatut($this->status, $mode); |
787 | 787 | } |
788 | 788 | |
789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
790 | 790 | /** |
791 | 791 | * Return the status |
792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | */ |
797 | 797 | public function LibStatut($status, $mode = 0) |
798 | 798 | { |
799 | - // phpcs:enable |
|
799 | + // phpcs:enable |
|
800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
801 | 801 | global $langs; |
802 | 802 | //$langs->load("hrm"); |
@@ -786,7 +786,7 @@ discard block |
||
786 | 786 | return $this->LibStatut($this->status, $mode); |
787 | 787 | } |
788 | 788 | |
789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
790 | 790 | /** |
791 | 791 | * Return the status |
792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | */ |
797 | 797 | public function LibStatut($status, $mode = 0) |
798 | 798 | { |
799 | - // phpcs:enable |
|
799 | + // phpcs:enable |
|
800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
801 | 801 | global $langs; |
802 | 802 | //$langs->load("hrm"); |
@@ -804,7 +804,7 @@ discard block |
||
804 | 804 | return $this->LibStatut($this->status, $mode); |
805 | 805 | } |
806 | 806 | |
807 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
807 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
808 | 808 | |
809 | 809 | /** |
810 | 810 | * Return the status |
@@ -815,7 +815,7 @@ discard block |
||
815 | 815 | */ |
816 | 816 | public function LibStatut($status, $mode = 0) |
817 | 817 | { |
818 | - // phpcs:enable |
|
818 | + // phpcs:enable |
|
819 | 819 | if (is_null($status)) { |
820 | 820 | return ''; |
821 | 821 | } |
@@ -833,7 +833,7 @@ discard block |
||
833 | 833 | return $this->LibStatut($this->status, $mode); |
834 | 834 | } |
835 | 835 | |
836 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
836 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
837 | 837 | /** |
838 | 838 | * Return the status |
839 | 839 | * |
@@ -843,7 +843,7 @@ discard block |
||
843 | 843 | */ |
844 | 844 | public function LibStatut($status, $mode = 0) |
845 | 845 | { |
846 | - // phpcs:enable |
|
846 | + // phpcs:enable |
|
847 | 847 | return ''; // There is no status on job profile for the moment |
848 | 848 | |
849 | 849 | /* |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | |
80 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
80 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
81 | 81 | /** |
82 | 82 | * Assign custom values for canvas (for example into this->tpl to be used by templates) |
83 | 83 | * |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | */ |
89 | 89 | public function assign_values(&$action, $id = 0, $ref = '') |
90 | 90 | { |
91 | - // phpcs:enable |
|
91 | + // phpcs:enable |
|
92 | 92 | global $conf, $langs, $user, $mysoc; |
93 | 93 | global $form, $formcompany; |
94 | 94 |