overlay confirm en cours

This commit is contained in:
trochas
2025-12-11 11:25:11 +01:00
parent ced2d15e05
commit 1b0556ab39
4 changed files with 45 additions and 17 deletions

View File

@@ -1,11 +1,8 @@
import SelectChantier from '@/components/selectChantier';
import SetStatus from '@/components/setStatus';
import { ThemedView, } from '@/components/themed-view';
import Constants from 'expo-constants'; //pour connaître la taille de la barre menu de l'OS en haut
import React from 'react';
import { StyleSheet, View, Image, ViewStyle, StyleProp } from 'react-native';
import { ThemedText } from './themed-text';
import { Chantier } from '@/class/class';
import { ThemedView, } from '@/components/themed-view';
import React from 'react';
import { Image, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';
import { ThemedText } from './themed-text';
type Props = {
@@ -26,7 +23,6 @@ export default function ChantierSummary({data,style , ...otherProps }: Props) {
<Image source={{ uri:"https://cdn.discordapp.com/attachments/1425108443571945644/1427207643180826757/raw.png?ex=69392bb2&is=6937da32&hm=dcc09e76d3dca89d2418947b46efbd38673b9dc559027724b2e51d493b173bc9&" /*chantier.urlImg*/ }} style={styles.image} />
</View>
<View>
<ThemedText>{data.chantier.chef != null ? "true" : "false"}</ThemedText>
<ThemedText>Adresse: {data.chantier.adresse}</ThemedText>
<ThemedText>Chef de chantier: {data.chantier.chef.last_name}{" "}{data.chantier.chef.name}</ThemedText>
<ThemedText>État: {data.chantier.etat}</ThemedText>