Skip to content

ProcessWizard.php #15114

Aug 27, 2021 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

modules\SSalesProcesses\models\ProcessWizard.php

<?php

class SSalesProcesses_ProcessWizard_Model extends Vtiger_ProcessWizard_Model
{
	public function load()
	{
		$this->wizardMap = [
			[
				'label' => 'PLL_DRAFT',
				'conditions' => [
					'condition' => 'AND',
					'rules' => [
						[
							'fieldname' => 'ssalesprocesses_status:SSalesProcesses',
							'operator' => 'e',
							'value' => 'PLL_DRAFT',
						],
					],
				],
				'actions' => [
					[
						'linklabel' => 'PLL_FOR_REALIZATION',
						'linkurl' => '#',
						'linkhref' => true,
						'showLabel' => 1,
						'linkicon' => 'mr-2 fas fa-check',
						'linkclass' => 'btn-success js-quick-edit-modal',
						'linkdata' =…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@apcloic
Comment options

@Jianbin719
Comment options

Answer selected by rskrzypczak
Comment options

You must be logged in to vote
1 reply
@Jianbin719
Comment options

Comment options

You must be logged in to vote
1 reply
@zielonekrzeslo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How to
Labels
None yet
5 participants