diff --git a/src/Controller/Reporter/PqmpsController.php b/src/Controller/Reporter/PqmpsController.php index 25820aaa9..5aee86589 100755 --- a/src/Controller/Reporter/PqmpsController.php +++ b/src/Controller/Reporter/PqmpsController.php @@ -83,7 +83,7 @@ public function add() ]; $report = $this->Pqmps->patchEntity($report, $data); if ($this->Pqmps->save($report)) { - $this->Flash->success(__('The Poor-Quality Health Products and Technologies has been created')); + $this->Flash->success(__('The PQHPT has been created')); $this->redirect(array('action' => 'edit', $report->id)); } } diff --git a/src/Controller/Reporter/SadrsController.php b/src/Controller/Reporter/SadrsController.php index 377ff6b05..071b0e4d9 100755 --- a/src/Controller/Reporter/SadrsController.php +++ b/src/Controller/Reporter/SadrsController.php @@ -141,10 +141,10 @@ public function edit($id = null) $sadr = $this->Sadrs->patchEntity($sadr, $this->request->getData(), [ 'validate' => $validate, 'associated' => [ - 'Attachments', - 'SadrReaction', - 'SadrListOfDrugs', - 'SadrListOfMedicines' + 'Attachments'=>[ 'validate' => $validate], + 'SadrReaction'=>[ 'validate' => $validate], + 'SadrListOfDrugs'=>[ 'validate' => $validate], + 'SadrListOfMedicines'=>[ 'validate' => $validate] ] ]); diff --git a/templates/Manager/Pqmps/index.php b/templates/Manager/Pqmps/index.php index 8ea6ef889..e5fc3099d 100755 --- a/templates/Manager/Pqmps/index.php +++ b/templates/Manager/Pqmps/index.php @@ -1,5 +1,5 @@ assign('Poor-Quality Health Products and Technologies', 'active'); + $this->assign('PQHPT', 'active'); ?> diff --git a/templates/Manager/Users/dashboard.php b/templates/Manager/Users/dashboard.php index 45a474967..2a4e141f4 100755 --- a/templates/Manager/Users/dashboard.php +++ b/templates/Manager/Users/dashboard.php @@ -45,7 +45,7 @@ ?>
Right click the picture you want to save and open with `Microsoft office picture manager`.
+Click on `Edit Pictures` and on the panel that appears on the left, click on `resize`
+Select predefined width x height
+In the drop down options, select the option `Web Large (640 x 480 px)` and click on ok
+Save a copy of the resized photo (using `save as` option) and upload thenew copy
+(FOM001/MIP/PMS/SOP/001)
+Date, Month & Year or Year of Manufacture
Date format (dd-mm-yyyy)
If day is missing, use last day of the month.
Date format (dd-mm-yyyy)
start typing for options
', + 'disabled' => true, + 'placeholder' => 'If other, specify', + )); + ?> +
+ Does the product require refrigeration?+ |
+
+ Form->control('require_refrigeration', array(
+ 'type' => 'radio',
+ 'label' => false,
+ 'legend' => false,
+ 'div' => false,
+ 'hiddenField' => false,
+ 'error' => false,
+ 'before' => '
+ ',
+ 'options' => array('No' => 'No'),
+ ));
+ ?>
+ |
+
+
+ Form->label('Other details if necessary');
+ echo $this->Form->control('other_details', array(
+ 'class' => 'span10',
+ 'rows' => '4',
+ 'label' => false,
+ 'between' => false,
+ 'div' => false,
+ 'after' => ' ', + 'placeholder' => 'Other details if necessary', + )); + ?> + |
+
+ Was the product available at the facility?+ |
+
+ Form->control('product_at_facility', array(
+ 'type' => 'radio',
+ 'label' => false,
+ 'legend' => false,
+ 'div' => false,
+ 'hiddenField' => false,
+ 'error' => false,
+ 'before' => '
+ ',
+ 'options' => array('No' => 'No'),
+ ));
+ ?>
+ |
+ |
+ Was the product dispensed and returned by client?+ |
+
+ Form->control('returned_by_client', array(
+ 'type' => 'radio',
+ 'label' => false,
+ 'legend' => false,
+ 'div' => false,
+ 'hiddenField' => false,
+ 'error' => false,
+ 'before' => '
+ ',
+ 'options' => array('No' => 'No'),
+ ));
+ ?>
+ |
+ |
+ Was the product stored according to Manufacturer / MOH recommendations?+ |
+
+ Form->control('stored_to_recommendations', array(
+ 'type' => 'radio',
+ 'label' => false,
+ 'legend' => false,
+ 'div' => false,
+ 'hiddenField' => false,
+ 'error' => false,
+ 'before' => '
+ ',
+ 'options' => array('No' => 'No'),
+ ));
+ ?>
+ |
+
+ Is the person submitting different from reporter?+ |
+
+ Form->control('person_submitting', array(
+ 'type' => 'radio',
+ 'label' => false,
+ 'legend' => false,
+ 'div' => false,
+ 'hiddenField' => false,
+ 'error' => false,
+ 'class' => 'person-submit',
+ 'before' => '
+ ',
+ 'options' => array('No' => 'No'),
+ ));
+ ?>
+ |
+