working in progress
This commit is contained in:
@@ -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>`;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user