Fix dello stile del codice
This commit is contained in:
parent
227d1b9bff
commit
5b1a4996b4
|
@ -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;
|
||||
|
|
|
@ -42,7 +42,6 @@ if (empty($record['is_fiscale'])) {
|
|||
</button>';
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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'])).' €</td>';
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* Inherited Methods.
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* Inherited Methods.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue