Revision 6c8eb668
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Presenter.pm | ||
---|---|---|
153 | 153 |
use SL::DB::Order; |
154 | 154 |
use SL::Presenter::Record qw(grouped_record_list); |
155 | 155 |
|
156 |
my $quotation = SL::DB::Manager::Order->get_first(where => { quotation => 1 }); |
|
156 |
my $quotation = SL::DB::Manager::Order->get_first( |
|
157 |
where => [ or => ['record_type' => 'sales_quotation', |
|
158 |
'record_type' => 'request_quotation' ]]); |
|
157 | 159 |
my $records = $quotation->linked_records(direction => 'to'); |
158 | 160 |
my $html = grouped_record_list($records); |
159 | 161 |
|
Auch abrufbar als: Unified diff
Angebotsflag/Intakeflag aus Datenbankzugriffen entfernt