Update delivery process fields and sample form
This commit is contained in:
@@ -62,22 +62,16 @@ class Wiaas_Delivery_Process_Step extends Gravity_Flow_Step {
|
||||
|
||||
public function start() {
|
||||
|
||||
$complete = parent::start();
|
||||
parent::start();
|
||||
|
||||
if ($complete) {
|
||||
$this->update_step_status('pending');
|
||||
|
||||
$this->update_step_status('complete');
|
||||
} else {
|
||||
|
||||
$this->update_step_status('pending');
|
||||
}
|
||||
|
||||
return $complete;
|
||||
return false;
|
||||
}
|
||||
|
||||
public function evaluate_status() {
|
||||
|
||||
return 'pending';
|
||||
return $this->get_status();
|
||||
}
|
||||
|
||||
public function get_status_label($status) {
|
||||
|
||||
Reference in New Issue
Block a user