mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-11 22:37:27 +02:00
Some minor fix in table-search and content-editor
This commit is contained in:
parent
01ddabbad2
commit
d9974f57a8
6 changed files with 27 additions and 15 deletions
|
@ -743,8 +743,8 @@ sub payone_capture(){
|
|||
|
||||
#send_invoice infomail, only if eMail never sent
|
||||
if(-f "$dbt->{copri_conf}->{basedir}/$varenv->{syshost}/pdfinvoice/$praefix-$ctt->{ct_name}.pdf" && !$ctt->{txt30}){
|
||||
system("$dbt->{copri_conf}->{basedir}/$varenv->{syshost}/src/scripts/mailTransportcms.pl '$varenv->{syshost}' 'send_invoice' '$ctt->{int10}' '$ctt->{c_id}' '' ''");
|
||||
print EMA "---> Payment send_invoice $praefix-$ctt->{ct_name}.pdf email command: $dbt->{copri_conf}->{basedir}/$varenv->{syshost}/src/scripts/mailTransportcms.pl '$varenv->{syshost}' 'send_invoice' '$ctt->{int10}' '$ctt->{c_id}' '' ''\n";
|
||||
system("$dbt->{copri_conf}->{basedir}/$varenv->{syshost}/src/scripts/mailTransportcms.pl '$varenv->{syshost}' 'send_invoice' '$ctt->{int10}' '$ctt->{c_id}' '' 'email-invoice' '1'");
|
||||
print EMA "---> Payment send_invoice $praefix-$ctt->{ct_name}.pdf email command: $dbt->{copri_conf}->{basedir}/$varenv->{syshost}/src/scripts/mailTransportcms.pl '$varenv->{syshost}' 'send_invoice' '$ctt->{int10}' '$ctt->{c_id}' '' 'email-invoice' '1'\n";
|
||||
}
|
||||
close EMA;
|
||||
}
|
||||
|
|
|
@ -135,11 +135,14 @@ sub new_content {
|
|||
my $dbh = "";
|
||||
my $feedb = { message => "" };
|
||||
|
||||
my $main_id = $node_meta->{main_id};
|
||||
$main_id = $node_meta->{parent_id} if($R::template_id == 194 && $node_meta->{main_id} >= 400001);
|
||||
|
||||
my $pref_cc = {
|
||||
table => "$R::ct_table",
|
||||
fetch => "one",
|
||||
template_id => "$R::template_id",
|
||||
main_id => "$node_meta->{main_id}",
|
||||
main_id => "$main_id",
|
||||
};
|
||||
|
||||
my $cc_part = { c_id => 0 };
|
||||
|
@ -155,7 +158,7 @@ sub new_content {
|
|||
barcode => "$next_barcode",
|
||||
ct_name => "---",
|
||||
template_id => "$R::template_id",
|
||||
main_id => "$node_meta->{main_id}",
|
||||
main_id => "$main_id",
|
||||
txt12 => "$dbt->{operator}->{$varenv{dbname}}->{oprefix}",
|
||||
};
|
||||
my $c_idnew = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue