1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-11 07:05:22 +01:00

Bugfix modifica contratto dopo fatturazione

This commit is contained in:
Thomas Zilio 2019-09-18 16:43:57 +02:00
parent 010b4332a9
commit e9fa8376a4
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ foreach ($righe as $riga) {
echo ' echo '
<td class="text-center">'; <td class="text-center">';
if ($record['stato'] != 'Pagato') { if (empty($record['is_completato'])) {
echo ' echo '
<form action="" method="post" id="delete-form-'.$riga->id.'" role="form"> <form action="" method="post" id="delete-form-'.$riga->id.'" role="form">
<input type="hidden" name="backto" value="record-edit"> <input type="hidden" name="backto" value="record-edit">

View File

@ -90,7 +90,7 @@ foreach ($righe as $riga) {
echo ' echo '
<td class="text-center">'; <td class="text-center">';
if ($record['stato'] != 'Pagato') { if (empty($record['is_completato'])) {
echo ' echo '
<form action="" method="post" id="delete-form-'.$riga->id.'" role="form"> <form action="" method="post" id="delete-form-'.$riga->id.'" role="form">
<input type="hidden" name="backto" value="record-edit"> <input type="hidden" name="backto" value="record-edit">