Skip to content

Commit

Permalink
Riconciliazioni - Dettaglio: Aggiunta data ad per ogni singolo pagame…
Browse files Browse the repository at this point in the history
…nto.
  • Loading branch information
atatarelli committed Mar 9, 2022
1 parent 0cffd37 commit f23c054
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class IncassiViewComponent implements IModalDialog, IExport, AfterViewIni
this.info.sottotitolo = _st || null;
const _data: string = this.json.data?moment(this.json.data).format('DD/MM/YYYY'):null;
if (_data) {
this.info.extraInfo.push({ label: Voce.DATA+': ', value: _data });
this.info.extraInfo.push({ label: Voce.DATA_REGISTRAZIONE + ': ', value: _data });
}
// if (this.json.idIncasso) {
// this.info.extraInfo.push({ label: Voce.RICONCILIAZIONE+': ', value: this.json.idIncasso });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { NewStandardCollapse } from '../../../../classes/view/new-standard-colla
import { Voce } from '../../../../services/voce.service';
import { Dato } from '../../../../classes/view/dato';

import * as moment from 'moment';

@Component({
selector: 'link-new-standard-collapse-view',
templateUrl: './new-standard-collapse-view.component.html',
Expand Down Expand Up @@ -42,6 +44,7 @@ export class NewStandardCollapseViewComponent implements OnInit, AfterViewInit {
createElenco() {
const item = this.info.item;
if (item) {
this.info.stato = this.info.item.data ? moment(this.info.item.data).format('DD/MM/YYYY') : '';
if (item.vocePendenza) { // Riconciliazioni/Pagamenti
const vocePendenza = item.vocePendenza;
const pendenza = vocePendenza.pendenza;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class Voce {
public static DATA_ESITO: string = 'Data esito';
public static DATA_ESECUZIONE_RISCOSSIONE: string = 'Data esecuzione riscossione';
public static DATA_FLUSSO: string = 'Data flusso';
public static DATA_REGISTRAZIONE: string = 'Data registrazione';
public static DATA_REGOLAMENTO: string = 'Data regolamento';
public static DATA_RICEVUTA: string = 'Data ricevuta';
public static DATA_RICHIESTA: string = 'Data richiesta';
Expand Down

0 comments on commit f23c054

Please sign in to comment.