Fix dello stile del codice

This commit is contained in:
Thomas Zilio 2019-03-08 15:18:52 +01:00
parent 227d1b9bff
commit 5b1a4996b4
12 changed files with 44 additions and 49 deletions

View File

@ -75,7 +75,6 @@ switch (post('op')) {
}
}
// Codice --> ID IVA vendita
if (!empty($data[$key]['idiva_vendita'])) {
$rs_iva = $dbo->select('co_iva', 'id', [
@ -84,9 +83,8 @@ switch (post('op')) {
if (!empty($rs_iva[0]['id'])) {
$data[$key]['idiva_vendita'] = $rs_iva[0]['id'];
};
}
}
// Insert o update
$insert = true;

View File

@ -42,7 +42,6 @@ if (empty($record['is_fiscale'])) {
</button>';
}
?>
<?php

View File

@ -172,7 +172,6 @@ echo '
// Scelgo quando posso inviarla
$send = Interaction::isEnabled() && $generated && in_array($record['codice_stato_fe'], ['GEN', 'ERVAL']);
echo '
<i class="fa fa-arrow-right fa-fw text-muted"></i>

View File

@ -178,7 +178,7 @@ class WidgetManager implements ManagerInterface
ob_start();
include(DOCROOT."/".$widget['php_include']);
include DOCROOT.'/'.$widget['php_include'];
$result_ob = ob_get_contents();
ob_end_clean();

View File

@ -62,18 +62,18 @@ for ($i = 0; $i < sizeof($rs); ++$i) {
echo ' <tr>';
if ($rs[$i]['numero'] == $rs[$i - 1]['numero']) {
echo " <td></td>";
echo " <td></td>";
echo " <td></td>";
echo " <td></td>";
echo " <td></td>";
echo " <td></td>";
echo ' <td></td>';
echo ' <td></td>';
echo ' <td></td>';
echo ' <td></td>';
echo ' <td></td>';
echo ' <td></td>';
} else {
echo " <td>".$rs[$i]['numero'].'</td>';
echo " <td>".$rs[$i]['numero_esterno'].'</td>';
echo " <td>".date('d/m/Y', strtotime($rs[$i]['data'])).'</td>';
echo " <td>".$rs[$i]['codice_tipo_documento_fe'].'</td>';
echo " <td>".$rs[$i]['codice_anagrafica']." / ".tr($rs[$i]['ragione_sociale'], [], ['upper' => true]).'</td>';
echo ' <td>'.$rs[$i]['numero'].'</td>';
echo ' <td>'.$rs[$i]['numero_esterno'].'</td>';
echo ' <td>'.date('d/m/Y', strtotime($rs[$i]['data'])).'</td>';
echo ' <td>'.$rs[$i]['codice_tipo_documento_fe'].'</td>';
echo ' <td>'.$rs[$i]['codice_anagrafica'].' / '.tr($rs[$i]['ragione_sociale'], [], ['upper' => true]).'</td>';
echo " <td class='text-right'>".Translator::numberToLocale(get_totale_fattura($rs[$i]['iddocumento'])).' &euro;</td>';
}

View File

@ -1,6 +1,5 @@
<?php
/**
* Inherited Methods.
*

View File

@ -137,7 +137,7 @@ class RowHelper extends \Codeception\Module
$t->fillField('#descrizione_riga', $descrizione);
$t->fillField('#qta', $qta);
$t->fillField("#prezzo", $prezzo);
$t->fillField('#prezzo', $prezzo);
if (!empty($sconto)) {
$t->fillField('#sconto', $sconto);

View File

@ -1,4 +1,6 @@
<?php // @codingStandardsIgnoreFile
<?php
// @codingStandardsIgnoreFile
namespace Helper;
@ -17,10 +19,9 @@ namespace Helper;
* - Run ./vendor/bin/codecept build
*
* @see http://select2.github.io/select2
*
* @author Thomas Zilio
*
* @license MIT
*
*/
class Select2Ajax extends Select2
{

View File

@ -1,6 +1,5 @@
<?php
/**
* Inherited Methods.
*