Ongoing adaptation to new backend structure
This commit is contained in:
@@ -107,13 +107,13 @@ export const SociosPDF = ({ socios }) => (
|
||||
{ borderBottomRightRadius: idx === socios.length - 1 ? 10 : 0 },
|
||||
]}
|
||||
>
|
||||
<Text style={[styles.cell, { flex: 0.2 }]}>{socio?.member_number}</Text>
|
||||
<Text style={[styles.cell, { flex: 0.2 }]}>{socio?.plot_number}</Text>
|
||||
<Text style={[styles.cell, { flex: 3 }]}>{socio?.display_name}</Text>
|
||||
<Text style={[styles.cell, { flex: 0.2 }]}>{socio?.memberNumber}</Text>
|
||||
<Text style={[styles.cell, { flex: 0.2 }]}>{socio?.plotNumber}</Text>
|
||||
<Text style={[styles.cell, { flex: 3 }]}>{socio?.displayName}</Text>
|
||||
<Text style={[styles.cell, { flex: 1 }]}>{socio?.dni}</Text>
|
||||
<Text style={[styles.cell, { flex: 1 }]}>{socio?.phone}</Text>
|
||||
<Text style={[styles.cell, { flex: 3 }]}>{socio?.email || ''}</Text>
|
||||
<Text style={[styles.cell, { flex: 1 }]}>{parseDate(socio?.created_at?.split('T')[0] || '')}</Text>
|
||||
<Text style={[styles.cell, { flex: 1 }]}>{parseDate(socio?.createdAt?.split('T')[0] || '')}</Text>
|
||||
<Text style={[styles.cell, { flex: 1 }]}>
|
||||
{(() => {
|
||||
switch (socio?.type) {
|
||||
|
||||
Reference in New Issue
Block a user