This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tech2018:s4:get_activity [2018/06/07 12:34] Gianluca Pelliccioli |
tech2018:s4:get_activity [2018/06/07 13:19] (current) Gianluca Pelliccioli |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Get_activity ======= | + | ====== Get_activity |
Line 6: | Line 6: | ||
</ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | This is based on the controller: | ||
+ | |||
+ | **/ | ||
+ | < | ||
+ | public function get_activity($id) { | ||
+ | $activity = $this-> | ||
+ | |||
+ | $company = $this-> | ||
+ | $statuses = $this-> | ||
+ | $customer = $this-> | ||
+ | |||
+ | $activity-> | ||
+ | $activity-> | ||
+ | $this-> | ||
+ | $activity-> | ||
+ | $activity-> | ||
+ | $activity-> | ||
+ | $activity-> | ||
+ | $activity-> | ||
+ | $activity-> | ||
+ | |||
+ | // CHANGE FORM DATA BASED ON FORM/ | ||
+ | $this-> | ||
+ | |||
+ | if ($id != null && isset ( $activity-> | ||
+ | $activity_lib_data = $this-> | ||
+ | $activity = $activity_lib_data; | ||
+ | } | ||
+ | |||
+ | $this-> | ||
+ | } | ||
+ | |||
+ | </ | ||
##Verify Adharsh | ##Verify Adharsh | ||
Line 13: | Line 50: | ||
$reclamo = ""; | $reclamo = ""; | ||
$pending = ""; | $pending = ""; | ||
- | | + | if($activity-> |
- | | + | if($activity-> |
+ | "< | ||
</ | </ | ||
[[tech2018: | [[tech2018: |