Changeset 201f7cc in tailbone


Ignore:
Timestamp:
01/28/20 11:59:40 (4 weeks ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
b875540
Parents:
6e7ee99
Message:

Add warning for "price breaches SRP" rows in pricing batch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tailbone/views/batch/pricing.py

    r6e7ee99 r201f7cc  
    208208    def row_grid_extra_class(self, row, i):
    209209        if row.status_code in (row.STATUS_PRODUCT_NOT_FOUND,
    210                                row.STATUS_CANNOT_CALCULATE_PRICE):
     210                               row.STATUS_CANNOT_CALCULATE_PRICE,
     211                               row.STATUS_PRICE_BREACHES_SRP):
    211212            return 'warning'
    212213        if row.status_code in (row.STATUS_PRICE_INCREASE, row.STATUS_PRICE_DECREASE):
Note: See TracChangeset for help on using the changeset viewer.