Align companies with the Didar export: new fields, Didar-format Excel import/export, and people linked to companies by Didar code
This commit is contained in:
@@ -733,7 +733,17 @@ onMounted(load);
|
||||
<UiIcon name="mail" :size="13" />
|
||||
<span>{{ c.email }}</span>
|
||||
</p>
|
||||
<p class="role">افراد: {{ toFaDigits(c.peopleCount) }}</p>
|
||||
<p v-if="c.sourceRef || c.code" class="line">
|
||||
<span>
|
||||
{{ c.sourceRef ? `کد دیدار: ${toFaDigits(c.sourceRef)}` : '' }}
|
||||
{{ c.sourceRef && c.code ? ' • ' : '' }}
|
||||
{{ c.code ? `کد: ${toFaDigits(c.code)}` : '' }}
|
||||
</span>
|
||||
</p>
|
||||
<p class="role">
|
||||
{{ [c.city, c.owner?.fullName].filter(Boolean).join(' • ') }}
|
||||
{{ c.city || c.owner ? ' • ' : '' }}افراد: {{ toFaDigits(c.peopleCount) }}
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
@@ -743,8 +753,18 @@ onMounted(load);
|
||||
<tr>
|
||||
<th class="num-col">#</th>
|
||||
<th>نام شرکت</th>
|
||||
<th>تلفن</th>
|
||||
<th>ایمیل</th>
|
||||
<th>کد دیدار شرکت</th>
|
||||
<th>کد شرکت</th>
|
||||
<th>منبع</th>
|
||||
<th>گروه بندی</th>
|
||||
<th>استان</th>
|
||||
<th>شهرستان</th>
|
||||
<th>تلفن شرکت</th>
|
||||
<th>ایمیل شرکت</th>
|
||||
<th>شناسه ملی</th>
|
||||
<th>شماره اقتصادی</th>
|
||||
<th>مسئول شرکت</th>
|
||||
<th>تاریخ ثبت</th>
|
||||
<th>افراد</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -756,8 +776,18 @@ onMounted(load);
|
||||
{{ c.name }}
|
||||
</RouterLink>
|
||||
</td>
|
||||
<td>{{ c.phone || '—' }}</td>
|
||||
<td>{{ c.email || '—' }}</td>
|
||||
<td dir="ltr">{{ c.sourceRef ? toFaDigits(c.sourceRef) : '—' }}</td>
|
||||
<td dir="ltr">{{ c.code ? toFaDigits(c.code) : '—' }}</td>
|
||||
<td>{{ sourceLabel(c.importSource || 'manual') }}</td>
|
||||
<td>{{ c.groupName || '—' }}</td>
|
||||
<td>{{ c.province || '—' }}</td>
|
||||
<td>{{ c.city || '—' }}</td>
|
||||
<td dir="ltr">{{ c.phone || '—' }}</td>
|
||||
<td><span class="mail">{{ c.email || '—' }}</span></td>
|
||||
<td dir="ltr">{{ c.nationalId || '—' }}</td>
|
||||
<td dir="ltr">{{ c.economicCode || '—' }}</td>
|
||||
<td>{{ c.owner?.fullName || '—' }}</td>
|
||||
<td>{{ formatDate(c.registeredAt || c.createdAt) }}</td>
|
||||
<td>{{ toFaDigits(c.peopleCount) }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user