sorry I am new in angular and StackOverflow
I have 3 divs and I want to add background-color: red
to all divs which status is requesting payment. It should make background color to the second and the third div but it makes to only the third
html
<div class="col-md-4 mb-4" *ngFor="let invoice of Invoices let i=index">
<div id="{{'activeInvoice'+i}}" class=" d-flex justify-content-between align-items-center w-100 card-header ">
<strong class="text-gray-dark">{{langVar.Invoice}} {{invoice.invoiceNumber}}</strong>
<i class="fa fa-info-circle" title="show Details" aria-hidden="true" (click)="showInvoiceDetailsModal(invoice.id)"></i>
</div>
</div>
for (var i = 0; i <= this.Invoices.length-1; i++) {
console.log("invoice num", this.Invoices[i].invoiceNumber);
console.log("order", this.Invoices[i].order.length);
for (var j = 0; j <= this.Invoices[i].order.length - 1; j++) {
console.log("STATUS", this.Invoices[i].order[j].status);
if (this.Invoices[i].order[j].status == 'requestingPayment') {
var elementValue = 'activeInvoice'+i;
setTimeout(() => {
document.getElementById(elementValue).classList.add("cardBackGround");
}, 1000);
}
else {}
}
}
lyrica 75 mg price south africa – online drugstore canadian pharmacy phone number
clomid 50 mg – buy clomiphene online clomid tablet
order cialis online us pharmacy – canada cialis 20 mg generic cialis no prescription canada
ivermectin 50 – stromectol price in india stromectol canada
chumba casino – casinos best online casino for money
best ed pills non prescription – buyedpl where to buy otc ed pills
prednisone 60 mg tablet – predisone with no presciption where to buy prednisone uk
average cost of viagra in canada – viagra generic online generic viagra 10mg
tadalafil for sale cheap – Canadian pharmacy cialis generic cialis canada online pharmacy
ivermectin 3 mg tabs – ivermectin human stromectol brand
male ed pills – online drugs best ed treatment
buy cialis canada online – cost of cialis 10 mg
amoxicillin brand name – amoxicillin for humans for sale buy amoxicilin online
where can i buy cytotec pills – cytotec 200 mcg price in india where to buy cytotec in singapore
buy doxycycline 100mg canada – doxycyclinex.com prednisolone cheap
stromectol for humans for sale – price of ivermectin ivermectin 3mg tab
prednisone prescription – prednisone 5 mg prednisone 5mg capsules
buy sildenafil 150mg generic – tadalafil 20mg oral order cialis 10mg online
acheter 25mg gГ©nГ©rique sildenafil en france – original sildenafil 50mg rezeptfrei sicher kaufen cialis 5mg comprimГ©
stromectol 3mg tablets – stromectol pill ivermectin usa
purchase prednisone generic – prednisone 20mg drug purchase prednisone
cheap isotretinoin 10mg – order atorvastatin 10mg online amoxil brand
buy generic tizanidine 2mg – tizanidine canada buy gloperba online
buy inderal 10mg online – plaquenil 400mg uk plaquenil 200mg brand