Skip to content
Code-Schnipsel Gruppen Projekte

fix(CouponCodeInput): mobile buttons adjusted

Zusammengeführt Henning Leutz schlägt vor, dev in next zu mergen.
2 Dateien
+ 27
6
Änderungen vergleichen
  • Nebeneinander
  • In der Reihe
Dateien
2
@@ -111,8 +111,8 @@ public static function createCouponCodesFromOrder(QUI\ERP\Order\AbstractOrder $O
\rename($couponPdfFile, $newCouponPdfFile);
// Add PDF file to customer files
CustomerFiles::addFileToCustomer($Customer->getId(), $newCouponPdfFile);
CustomerFiles::addFileToDownloadEntry($Customer->getId(), \basename($newCouponPdfFile));
CustomerFiles::addFileToCustomer($Customer->getUUID(), $newCouponPdfFile);
CustomerFiles::addFileToDownloadEntry($Customer->getUUID(), \basename($newCouponPdfFile));
$customerDir = CustomerFiles::getFolderPath($Customer);
$couponFilePathCustomerDir = $customerDir . DIRECTORY_SEPARATOR . \basename($newCouponPdfFile);
@@ -210,7 +210,7 @@ protected static function createCouponCodeFromProduct(
$isTransferable = $Product->getFieldValue(self::PRODUCT_FIELD_ID_TRANSFERABLE);
if (empty($isTransferable)) {
$couponAttributes['userIds'] = [$User->getId()];
$couponAttributes['userIds'] = [$User->getUUID()];
}
}