diff --git a/Packmonitor.php b/Packmonitor.php
index b9c2a1a..726a50c 100644
--- a/Packmonitor.php
+++ b/Packmonitor.php
@@ -1,4 +1,9 @@
is_all_in == 0) {
+ if ($orderdetail_output->amount_open_checkin==0) {
echo "";
} else {
-
- echo '';
+
+ echo '';
echo "";
}
- echo (($packingjob->ps_parameters->result->total_pieces-abs($packingjob->is_all_out))-abs($packingjob->is_all_in)) . "/" . $packingjob->ps_parameters->result->total_pieces - abs($packingjob->is_all_out). " (".$packingjob->ps_parameters->result->total_pieces.")" ;
+
+ echo ($orderdetail_output->amount_checkout - $orderdetail_output->amount_open_checkin) . "/" . $orderdetail_output->amount_checkout;
+ echo "
";
+
echo "";
}
}
diff --git a/sources/getCheckOutTable.php b/sources/getCheckOutTable.php
index c6f5cb8..604ce82 100644
--- a/sources/getCheckOutTable.php
+++ b/sources/getCheckOutTable.php
@@ -1,5 +1,5 @@
" . date_format(new \DateTime($packingjob->date_end), 'd.m.Y') . " " . getTimeFromSeconds($packingjob->time_end) . " | ";
}
echo "";
-
- if ($packingjob->is_all_out == 0) {
+
+
+ if ($orderdetail_output->amount_open_checkout==0) {
echo "";
} else {
- echo '';
+
+ echo '';
echo "";
}
- echo ($packingjob->ps_parameters->result->total_pieces - abs($packingjob->is_all_out)) . "/" . $packingjob->ps_parameters->result->total_pieces;
+
+ echo ($orderdetail_output->amount_packagingnote - $orderdetail_output->amount_open_checkout) . "/" . $orderdetail_output->amount_packagingnote;
echo " | ";
echo "";
}
|