This is a discussion on invoice 1.50 - Rechnung für Stammkunden within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Wenn ein Kunde ohne Account bestellt (Contribution PWA), findet kein Datenbankeintrag statt. Es sollte daher folgende Datei abgeä...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Wenn ein Kunde ohne Account bestellt (Contribution PWA), findet kein Datenbankeintrag statt. Es sollte daher folgende Datei abgeändert werden: catalog/includes/modules/payment/invoice.php vor Zeile 63 (switch) folgendes einfügen: if($inv_check) { und nach Zeile 76 ( } break } ) folgendes einfügen: } else { $this->enabled = false; } Es müsste am Ende dann so aussehen: if($inv_check) { switch ($inv_check) { case 0: $total = $result['total']; if (($total+1) < MODULE_PAYMENT_INVOICE_FROM_ORDER) { $this->enabled = false; } break; case 1: if (($inv_info['customers_invoice']) < 1) { $this->enabled = false; } break; } } else { $this->enabled = false; } Vielleicht könnte die Funktion ja allgemein mal eingebaut werden, aber das möchte ich gern dem Autor überlassen. - - - NO FILE UPLOADED - - - More...
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PDF Customer Invoice v1.0 | michael_s | New osCommerce Contributions | 0 | 08-12-2007 04:39 AM |
| PDF Customer Invoice v1.0 | michael_s | New osCommerce Contributions | 0 | 08-05-2007 11:32 AM |
| PDF Customer Invoice v1.0 | michael_s | New osCommerce Contributions | 0 | 08-04-2007 02:02 PM |
| Rechnungslayout über Admin + Texteingabe in Rechnung | michael_s | New osCommerce Contributions | 0 | 07-20-2007 06:11 PM |
| PDF Invoice | michael_s | New osCommerce Contributions | 0 | 06-08-2007 11:15 AM |