1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Bug fixes

This commit is contained in:
Hillel Coren 2015-12-24 13:17:11 +02:00
parent c0409b86fd
commit 991b19b2a2
4 changed files with 6 additions and 2 deletions

View File

@ -526,7 +526,7 @@ class Invoice extends EntityModel implements BalanceAffecting
}
if ($this->end_date) {
$rule .= 'UNTIL=' . $this->end_date;
$rule .= 'UNTIL=' . $this->getOriginal('end_date');
}
return $rule;

View File

@ -353,7 +353,7 @@ class ImportService
$results = [];
foreach ($maps as $entityType => $map) {
$result[$entityType] = $this->executeCSV($entityType, $map, $headers[$entityType]);
$results[$entityType] = $this->executeCSV($entityType, $map, $headers[$entityType]);
}
return $results;

View File

@ -54,6 +54,10 @@
<div id="gateway_{{ $gateway->id }}_div" class='gateway-fields' style="display: none">
@foreach ($gateway->fields as $field => $details)
@if ($details && !$accountGateway)
{!! Former::populateField($gateway->id.'_'.$field, $details) !!}
@endif
@if (in_array($field, $hiddenFields))
{{-- do nothing --}}
@elseif ($gateway->id == GATEWAY_DWOLLA && ($field == 'key' || $field == 'secret')

Binary file not shown.