mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-17 03:51:06 +01:00
Compare commits
3 Commits
959fbe8774
...
bf294f9498
Author | SHA1 | Date | |
---|---|---|---|
|
bf294f9498 | ||
|
3d4acdf5a9 | ||
|
97ebf7867b |
11
CHANGELOG.md
11
CHANGELOG.md
@ -4,7 +4,7 @@ Tutti i maggiori cambiamenti di questo progetto saranno documentati in questo fi
|
||||
|
||||
Il formato utilizzato è basato sulle linee guida di [Keep a Changelog](http://keepachangelog.com/), e il progetto segue il [Semantic Versioning](http://semver.org/) per definire le versioni delle release.
|
||||
|
||||
- [2.5.5 (2024-09-11))](#255-2024-09-11)
|
||||
- [2.5.5 (2024-09-27))](#255-2024-09-27)
|
||||
- [2.5.4 (2024-08-28))](#254-2024-08-28)
|
||||
- [2.5.3 (2024-08-07)](#253-2024-08-07)
|
||||
- [2.5.2 (2024-05-31)](#252-2024-05-31)
|
||||
@ -71,13 +71,15 @@ Il formato utilizzato è basato sulle linee guida di [Keep a Changelog](http://k
|
||||
- [2.2 (2016-11-10)](#22-2016-11-10)
|
||||
- [2.1 (2015-04-02)](#21-2015-04-02)
|
||||
|
||||
## 2.5.5 (2024-09-11)
|
||||
## 2.5.5 (2024-09-27)
|
||||
### Aggiunto (Added)
|
||||
- Aggiunta la geolocalizzazione automatica per anagrafiche e sedi
|
||||
- Aggiunta la ricerca multipla nelle tabelle datatables
|
||||
- Aggiunta controllo campi personalizzati doppi
|
||||
- Aggiunta la gestione tipi destinatari e autocompletamenti destinatari nelle mail in uscita
|
||||
- Aggiunta vista satellite su mappa
|
||||
- Aggiunta la gestione del flag Attivo in template
|
||||
- Aggiunta la gestione del listino predefinito per l'anagrafica azienda
|
||||
|
||||
### Modificato (Changed)
|
||||
- Ottimizzazioni varie codice per php8.3
|
||||
@ -105,6 +107,11 @@ Il formato utilizzato è basato sulle linee guida di [Keep a Changelog](http://k
|
||||
- Corretti i requisiti di php
|
||||
- Corretta la visualizzazione di anagrafiche senza tipo
|
||||
- Corretta la visualizzazione degli ultimi movimenti in prima nota
|
||||
- Corretta la stampa preventivo con pagamento mancante
|
||||
- Corretta la disabilitazione dei widget
|
||||
- Corretta l'apertura delle fatture collegate da prima nota
|
||||
- Corretta la duplicazione degli articoli
|
||||
- Corretta la visualizzazione dei tasti da mobile
|
||||
|
||||
## 2.5.4 (2024-08-28)
|
||||
### Aggiunto (Added)
|
||||
|
@ -315,7 +315,7 @@ switch ($op) {
|
||||
// Elenco fatture in stato Bozza per il cliente
|
||||
case 'fatture_bozza':
|
||||
$id_anagrafica = post('id_anagrafica');
|
||||
$stato = Stato::where('name', 'Bozza')->first()->id;
|
||||
$stato = Stato::where('name', 'Bozza')->first();
|
||||
|
||||
$fatture = Fattura::vendita()
|
||||
->where('idanagrafica', $id_anagrafica)
|
||||
@ -334,12 +334,12 @@ switch ($op) {
|
||||
// Elenco fatture Scadute per il cliente
|
||||
case 'fatture_scadute':
|
||||
$id_anagrafica = post('id_anagrafica');
|
||||
$stato1 = Stato::where('name', 'Emessa')->first()->id;
|
||||
$stato2 = Stato::where('name', 'Parzialmente pagato')->first()->id;
|
||||
$stato1 = Stato::where('name', 'Emessa')->first();
|
||||
$stato2 = Stato::where('name', 'Parzialmente pagato')->first();
|
||||
|
||||
$fatture = Fattura::vendita()
|
||||
->select('*', 'co_documenti.id AS id', 'co_documenti.data AS data')
|
||||
->where('co_documenti.idanagrafica', $id_anagrafica)
|
||||
->where('co_documenti.idanagrafica', "=", $id_anagrafica)
|
||||
->whereIn('idstatodocumento', [$stato1->id, $stato2->id])
|
||||
->join('co_scadenziario', 'co_documenti.id', '=', 'co_scadenziario.iddocumento')
|
||||
->join('co_tipidocumento', 'co_tipidocumento.id', '=', 'co_documenti.idtipodocumento')
|
||||
|
@ -55,8 +55,9 @@ if ($module->getTranslation('title') == 'Fatture di vendita' && $services_enable
|
||||
if ($documento->codice_stato_fe == 'NS' && ($documento->stato != Stato::where('name', 'Bozza')->first()->id) && ($documento->stato != Stato::where('name', 'Non valida')->first()->id)) {
|
||||
$ricevuta_principale = $documento->getRicevutaPrincipale();
|
||||
|
||||
|
||||
if (!empty($ricevuta_principale)) {
|
||||
$contenuto_ricevuta = XML::readFile($ricevuta_principale->filepath);
|
||||
$contenuto_ricevuta = XML::readFile(base_dir().'/files/fatture/'.$ricevuta_principale->filename);
|
||||
$lista_errori = $contenuto_ricevuta['ListaErrori'];
|
||||
if ($lista_errori) {
|
||||
$lista_errori = $lista_errori[0] ? $lista_errori : [$lista_errori];
|
||||
|
@ -895,7 +895,7 @@ class Fattura extends Document
|
||||
|
||||
public function getReferenceName()
|
||||
{
|
||||
return $this->tipo->getTranslation('title');
|
||||
return $this->tipo;
|
||||
}
|
||||
|
||||
public function getReferenceNumber()
|
||||
|
@ -54,7 +54,7 @@ if (!empty($fatture_generate_errore->count())) {
|
||||
|
||||
$ricevuta_principale = $fattura_generata->getRicevutaPrincipale();
|
||||
if (!empty($ricevuta_principale)) {
|
||||
$contenuto_ricevuta = XML::readFile($ricevuta_principale->filepath);
|
||||
$contenuto_ricevuta = XML::readFile(base_dir().'/files/fatture/'.$ricevuta_principale->filename);
|
||||
|
||||
// Informazioni aggiuntive per EC02
|
||||
if (!empty($contenuto_ricevuta['EsitoCommittente'])) {
|
||||
|
@ -32,7 +32,7 @@ trait ReferenceTrait
|
||||
public function getReference($show_ragione_sociale = null)
|
||||
{
|
||||
// Informazioni disponibili
|
||||
$name = $this->getReferenceName();
|
||||
$name = $this->getReferenceName()->name ?? $this->getReferenceName();
|
||||
|
||||
$number = $this->getReferenceNumber();
|
||||
$date = $this->getReferenceDate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user