Skip to content

Commit

Permalink
fixed supplier details component
Browse files Browse the repository at this point in the history
  • Loading branch information
TemuulenBM committed Nov 22, 2023
1 parent 9eae4ec commit 89e093b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions addon/components/supplier-panel/details.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,41 @@
<div class="grid grid-cols-1 lg:grid-cols-2 gap-2 text-xs dark:text-gray-100">
<div class="field-info-container">
<div class="field-name">Name</div>
<div class="field-value">{{n-a this.supplier.name}}</div>
<div class="field-value">{{n-a @supplier.name}}</div>
</div>

<div class="field-info-container">
<div class="field-name">Email</div>
<div class="field-value">{{n-a this.supplier.email}}</div>
<div class="field-value">{{n-a @supplier.email}}</div>
</div>

<div class="field-info-container">
<div class="field-name">Phone</div>
<div class="field-value">{{n-a this.supplier.phone}}</div>
<div class="field-value">{{n-a @supplier.phone}}</div>
</div>

<div class="field-info-container">
<div class="field-name">Website URL</div>
<div class="field-value">{{n-a this.supplier.website_url}}</div>
<div class="field-value">{{n-a @supplier.website_url}}</div>
</div>

<div class="field-info-container">
<div class="field-name">Country</div>
<div class="field-value">
<CountryName @country={{this.supplier.country}} @showFlag={{true}} />
<CountryName @country={{@supplier.country}} @showFlag={{true}} />
</div>
</div>

<div class="field-info-container">
<div class="field-name">Status</div>
<div class="field-value">
<Badge @status={{this.supplier.status}} />
<Badge @status={{@supplier.status}} />
</div>
</div>

<div class="field-info-container col-span-2">
<div class="field-name">Address</div>
<div class="field-value">{{n-a this.supplier.address}}</div>
<div class="field-value">{{n-a @supplier.address}}</div>
</div>
</div>
</ContentPanel>
Expand Down

0 comments on commit 89e093b

Please sign in to comment.