blob: deb87bd3bb398c9e3c2f2b1bb527fa1ec026cbc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<%
my( $refnum, %opt ) = @_;
$opt{'records'} = delete $opt{'part_referrals'}
if $opt{'part_referrals'};
%><%= include( '/elements/select-table.html',
'table' => 'part_referral',
'name_col' => 'referral',
'value' => $refnum,
'empty_label' => 'Select advertising source',
'hashref' => { 'disabled' => '' },
'extra_sql' => ' AND '.
FS::part_referral->all_part_referral(1),
%opt,
)
%>
|