<div class="flex flex-col gap-6">
  <app-card-data cardTitle="اطلاعات فعالیت اقتصادی" [(editMode)]="editMode">
    <div class="flex flex-col gap-4">
      <div class="listKeyValue">
        <app-key-value label="عنوان" [value]="businessActivity()?.name" />
        <app-key-value label="صنف" [value]="businessActivity()?.guild?.name" />
      </div>
    </div>
  </app-card-data>

  <superAdmin-consumer-complexes-list [consumerId]="consumerId()" [businessId]="businessId()" />

  <superAdmin-consumer-businessActivities-form
    [(visible)]="editMode"
    [editMode]="true"
    [consumerId]="consumerId()"
    [businessActivityId]="businessId()"
    [initialValues]="businessActivity() || undefined"
    (onSubmit)="getData()"
  />
</div>
