|
@@ 53-55 (lines=3) @@
|
| 50 |
|
$originalPrice = trim($this->webDriver->byXpath(sprintf($originalPriceXpath, $count))->getText()); |
| 51 |
|
$price = trim($this->webDriver->byXpath(sprintf($priceXpath, $count))->getText()); |
| 52 |
|
$qtyOrdered = 0; |
| 53 |
|
if ($this->webDriver->elementExists(sprintf($orderedQtyXpath, $count), WebDriver::BY_XPATH)) { |
| 54 |
|
$qtyOrdered = trim($this->webDriver->byXpath(sprintf($orderedQtyXpath, $count))->getText()); |
| 55 |
|
} |
| 56 |
|
$qtyInvoiced = 0; |
| 57 |
|
if ($this->webDriver->elementExists(sprintf($invoicedQtyXpath, $count), WebDriver::BY_XPATH)) { |
| 58 |
|
$qtyInvoiced = trim($this->webDriver->byXpath(sprintf($invoicedQtyXpath, $count))->getText()); |
|
@@ 57-59 (lines=3) @@
|
| 54 |
|
$qtyOrdered = trim($this->webDriver->byXpath(sprintf($orderedQtyXpath, $count))->getText()); |
| 55 |
|
} |
| 56 |
|
$qtyInvoiced = 0; |
| 57 |
|
if ($this->webDriver->elementExists(sprintf($invoicedQtyXpath, $count), WebDriver::BY_XPATH)) { |
| 58 |
|
$qtyInvoiced = trim($this->webDriver->byXpath(sprintf($invoicedQtyXpath, $count))->getText()); |
| 59 |
|
} |
| 60 |
|
$qtyShipped = 0; |
| 61 |
|
if ($this->webDriver->elementExists(sprintf($shippedQtyXpath, $count), WebDriver::BY_XPATH)) { |
| 62 |
|
$qtyShipped = trim($this->webDriver->byXpath(sprintf($shippedQtyXpath, $count))->getText()); |
|
@@ 61-63 (lines=3) @@
|
| 58 |
|
$qtyInvoiced = trim($this->webDriver->byXpath(sprintf($invoicedQtyXpath, $count))->getText()); |
| 59 |
|
} |
| 60 |
|
$qtyShipped = 0; |
| 61 |
|
if ($this->webDriver->elementExists(sprintf($shippedQtyXpath, $count), WebDriver::BY_XPATH)) { |
| 62 |
|
$qtyShipped = trim($this->webDriver->byXpath(sprintf($shippedQtyXpath, $count))->getText()); |
| 63 |
|
} |
| 64 |
|
$subTotal = trim($this->webDriver->byXpath(sprintf($subtotalXpath, $count))->getText()); |
| 65 |
|
$taxAmount = trim($this->webDriver->byXpath(sprintf($taxXpath, $count))->getText()); |
| 66 |
|
$taxPercent = trim($this->webDriver->byXpath(sprintf($taxPercentXpath, $count))->getText()); |