fixed issue #259

parent 915cf83f
......@@ -337,7 +337,7 @@ module.exports = {
phone: params.phone || '',
lang: params.lang || 'es-es',
};
if (params.id_off)
if (params.id_off && params.role == 'therapist_office')
supData.id_off = params.id_off;
console.log(JSON.stringify(supData));
......
......@@ -20,7 +20,7 @@
</div>
</div>
<div class="col-md-9">
<div style="margin-left: 5px"><h4>{{studentData.name}} {{studentData.surname}} ID: {{studentData.supervision}}</h4></div>
<div style="margin-left: 5px"><h4>{{studentData.name}} {{studentData.surname}}</h4></div>
<div style="margin-left: 5px" class="text-left">
<span>{{studentData.current_instruction | translate}} </span><br/>
<span class="text-muted">({{studentData.current_method | translate}})</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment