controller/jobs/src/Controller/Jobs/Order/Email/Voucher/Standard.php
protected function addOrderStatus( $orderId, $value )
	{
		$orderStatusManager = \Aimeos\MShop::create( $this->getContext(), 'order/status' );

		$statusItem = $orderStatusManager->createItem()->setParentId( $orderId )->setValue( $value )
			->setType( \Aimeos\MShop\Order\Item\Status\Base::EMAIL_VOUCHER );

		$orderStatusManager->saveItem( $statusItem );
	}
protected function addOrderStatus( $orderId, $value )
	{
		$orderStatusManager = \Aimeos\MShop::create( $this->getContext(), 'order/status' );

		$statusItem = $orderStatusManager->createItem()->setParentId( $orderId )->setValue( $value )
			->setType( \Aimeos\MShop\Order\Item\Status\Base::EMAIL_VOUCHER );

		$orderStatusManager->saveItem( $statusItem );
	}
protected function addOrderStatus ( $ orderId , $ value ) { $ orderStatusManager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'order/status' ) ; $ statusItem = $ orderStatusManager -> createItem ( ) -> setParentId ( $ orderId ) -> setValue ( $ value ) -> setType ( \ Aimeos \ MShop \ Order \ Item \ Status \ Base :: EMAIL_VOUCHER ) ; $ orderStatusManager -> saveItem ( $ statusItem ) ; }
Adds the status of the delivered e-mail for the given order ID

@param string $orderId Unique order ID
@param integer $value Status value
Adds the status of the delivered e - mail for the given order ID