Skip to content

Commit

Permalink
MAGETWO-86723: #8453: [GitHub] Price outlining in Invoice PDF #1216
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov authored Jan 16, 2018
2 parents 97b5171 + 73bcfa4 commit 48aa36a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Model/Order/Pdf/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected function _drawHeader(\Zend_Pdf_Page $page)

$lines[0][] = ['text' => __('Qty'), 'feed' => 435, 'align' => 'right'];

$lines[0][] = ['text' => __('Price'), 'feed' => 360, 'align' => 'right'];
$lines[0][] = ['text' => __('Price'), 'feed' => 375, 'align' => 'right'];

$lines[0][] = ['text' => __('Tax'), 'feed' => 495, 'align' => 'right'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public function draw()
// draw item Prices
$i = 0;
$prices = $this->getItemPricesForDisplay();
$feedPrice = 395;
$feedSubtotal = $feedPrice + 170;
$feedPrice = 375;
$feedSubtotal = $feedPrice + 190;
foreach ($prices as $priceData) {
if (isset($priceData['label'])) {
// draw Price label
Expand Down

0 comments on commit 48aa36a

Please sign in to comment.