|
@@ -245,10 +245,10 @@ NSString* gprice = [self get_portfolio_price :appDelegate.contact_id item_id:ite
|
|
|
{
|
|
{
|
|
|
line_note=valueitem[@"linenotes"];
|
|
line_note=valueitem[@"linenotes"];
|
|
|
qty=[valueitem[@"available_qty"] intValue];
|
|
qty=[valueitem[@"available_qty"] intValue];
|
|
|
- s_qty=valueitem[@"available_qty"] ;
|
|
|
|
|
|
|
+ s_qty=[valueitem[@"available_qty"] stringValue] ;
|
|
|
if(valueitem[@"regular_price"]!=nil)
|
|
if(valueitem[@"regular_price"]!=nil)
|
|
|
gprice=[NSString stringWithFormat:@"%.2f",[valueitem[@"regular_price"] floatValue]];
|
|
gprice=[NSString stringWithFormat:@"%.2f",[valueitem[@"regular_price"] floatValue]];
|
|
|
- s_price=valueitem[@"special_price"];
|
|
|
|
|
|
|
+ s_price=[valueitem[@"special_price"] stringValue];
|
|
|
price=[valueitem[@"special_price"] floatValue];
|
|
price=[valueitem[@"special_price"] floatValue];
|
|
|
discount=0;
|
|
discount=0;
|
|
|
|
|
|