Skip to content

Commit 21566e8

Browse files
committed
#8453: [GitHub] Price outlining in Invoice PDF
1 parent d865ef1 commit 21566e8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/code/Magento/Sales/Model/Order/Pdf/Invoice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected function _drawHeader(\Zend_Pdf_Page $page)
9696

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

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

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

app/code/Magento/Sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public function draw()
8181
// draw item Prices
8282
$i = 0;
8383
$prices = $this->getItemPricesForDisplay();
84-
$feedPrice = 395;
85-
$feedSubtotal = $feedPrice + 170;
84+
$feedPrice = 375;
85+
$feedSubtotal = $feedPrice + 190;
8686
foreach ($prices as $priceData) {
8787
if (isset($priceData['label'])) {
8888
// draw Price label

0 commit comments

Comments
 (0)