src/Intraface/modules/invoice/Reminder.php 1 location
|
@@ 97-101 (lines=5) @@
|
| 94 |
|
$this->contact_person = new ContactPerson($this->contact, $this->db->f("contact_person_id")); |
| 95 |
|
} |
| 96 |
|
|
| 97 |
|
if ($this->get("status") == "executed" || $this->get("status") == "cancelled") { |
| 98 |
|
$this->value["locked"] = true; |
| 99 |
|
} else { |
| 100 |
|
$this->value["locked"] = false; |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
$this->value['payment_total'] = 0; |
| 104 |
|
foreach ($this->getDebtorAccount()->getList() as $payment) { |
src/Intraface/modules/debtor/Debtor.php 1 location
|
@@ 285-289 (lines=5) @@
|
| 282 |
|
$this->value['where_to_id'] = 0; |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if ($this->get("status") == "executed" || $this->get("status") == "cancelled") { |
| 286 |
|
$this->value["locked"] = true; |
| 287 |
|
} else { |
| 288 |
|
$this->value["locked"] = false; |
| 289 |
|
} |
| 290 |
|
|
| 291 |
|
// henter kunden |
| 292 |
|
require_once 'Intraface/modules/contact/Contact.php'; |