working in progress

This commit is contained in:
OnlyPapy98
2026-01-09 10:40:55 +01:00
parent 665c15b3d7
commit 6fbda8dc5e
3 changed files with 4 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ export class PointVentePage {
renderStatutBadge(statut: PointVenteStatut | string | undefined): string {
if (!statut) return '';
const s = String(statut).toUpperCase();
if (s === 'ACTIVE') {
if (s === 'ACTIF') {
return `<span class="inline-flex items-center gap-1 px-2 py-1 rounded bg-green-500/10 text-green-600 dark:text-green-400 text-xs font-medium"><i class="icon-check"></i> Actif</span>`;
}
return `<span class="inline-flex items-center gap-1 px-2 py-1 rounded bg-gray-500/10 text-gray-600 dark:text-gray-400 text-xs font-medium"><i class="icon-x"></i> Inactif</span>`;

View File

@@ -77,7 +77,7 @@ export class TpeSelect {
//console.log(res.content);
const available = res.content.filter(
(t) =>
!t.assigned || t.agentConnecteId === this.agent?.id
(t.assigned && this.selectedIds().has(String(t.id))) || !t.assigned
);
this.tpes.set(available);
this.total.set(res.pageable.total);

View File

@@ -1,5 +1,5 @@
export const environment = {
production: false,
apiBaseUrl: 'http://192.168.40.212:8080',
apiBaseUrl: 'http://192.168.1.235:8381',
depouillementBaseUrl: 'http://192.168.1.235:8383'
};