Commit 2724e3da authored by Yuri Resende's avatar Yuri Resende
Browse files

Desabilitando botões 'Aprovar' e 'Reprovar' após a avaliação

parent 0de86eb9
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
</ul> </ul>
<p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p> <p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p>
@if($avaliacao->status == 3)
<div style="width: 100%; " class="btns-avaliar mt-5 d-flex justify-content-end"> <div style="width: 100%; " class="btns-avaliar mt-5 d-flex justify-content-end">
<button <button
type="button" type="button"
...@@ -56,6 +57,8 @@ ...@@ -56,6 +57,8 @@
<input type="submit" class="btn btn-primary" value="Aprovar"> <input type="submit" class="btn btn-primary" value="Aprovar">
</form> </form>
</div> </div>
@endif
</div> </div>
</div><br> </div><br>
@endforeach @endforeach
...@@ -78,7 +81,8 @@ ...@@ -78,7 +81,8 @@
</ul> </ul>
<p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p> <p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p>
@if($avaliacao->status == 3)
<div style="width: 100%; " class="btns-avaliar mt-5 d-flex justify-content-end"> <div style="width: 100%; " class="btns-avaliar mt-5 d-flex justify-content-end">
<button <button
type="button" type="button"
...@@ -103,6 +107,8 @@ ...@@ -103,6 +107,8 @@
</form> </form>
</div> </div>
@endif
</div> </div>
</div><br> </div><br>
@endforeach @endforeach
...@@ -125,7 +131,8 @@ ...@@ -125,7 +131,8 @@
</ul> </ul>
<p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p> <p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p>
@if($avaliacao->status == 3)
<div style="width: 100%; " class="btns-avaliar mt-5 d-flex justify-content-end"> <div style="width: 100%; " class="btns-avaliar mt-5 d-flex justify-content-end">
<button <button
type="button" class="btn btn-outline-danger" type="button" class="btn btn-outline-danger"
...@@ -149,6 +156,8 @@ ...@@ -149,6 +156,8 @@
</form> </form>
</div> </div>
@endif
</div> </div>
</div><br> </div><br>
@endforeach @endforeach
...@@ -174,6 +183,7 @@ ...@@ -174,6 +183,7 @@
<p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p> <p> <span class="fw-bold ">Status: </span> {{$avaliacao->getStatusAsText()}} </p>
@if($avaliacao->status == 3)
<div class="btns-avaliar mt-4 d-flex justify-content-end"> <div class="btns-avaliar mt-4 d-flex justify-content-end">
<button <button
type="button" type="button"
...@@ -198,6 +208,7 @@ ...@@ -198,6 +208,7 @@
</form> </form>
</div> </div>
@endif
</div> </div>
</div> </div>
......
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 to comment