mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-05-12 23:06:27 +02:00
operator access to customer
This commit is contained in:
parent
5c68b91b14
commit
df19863a86
5 changed files with 15 additions and 12 deletions
|
@ -104,7 +104,7 @@ sub tpl(){
|
|||
$save_key = "save_adr";
|
||||
$edit_template = "$ctrel->{template_id}" . "000";
|
||||
$tpl = $db->get_tpl($edit_template);
|
||||
}elsif($node_meta->{ct_table} eq "users" && $u_id){
|
||||
}elsif($node_meta->{ct_table} eq "users" && $node_meta->{tpl_id} == 198 && $u_id){
|
||||
my $ref = {
|
||||
table => "$node_meta->{ct_table}",
|
||||
fetch => "one",
|
||||
|
|
|
@ -125,7 +125,7 @@ sub tpl(){
|
|||
print $q->end_form;
|
||||
print $q->start_form();
|
||||
|
||||
print "<div id='Content4list' style='font-size:0.91em;min-width:1400px;'>\n";
|
||||
print "<div id='Content4list' style='font-size:0.91em;min-width:1500px;'>\n";
|
||||
|
||||
my $start_date_time = $R::start_date_time;
|
||||
my $end_date_time = $R::end_date_time;
|
||||
|
@ -278,7 +278,7 @@ sub tpl(){
|
|||
}
|
||||
else{
|
||||
$size="9px" if($key =~ /int/);
|
||||
if($key =~ /ct_name/){
|
||||
if($key =~ /ct_name|barcode/){
|
||||
print $q->textfield(-class=>'stxt2',-name=>"$key",-default=>"$valxx",-size=>"$size",-override=>'1',-maxlength=>40, -placeholder=>"$des",-autofocus=>1),"\n";
|
||||
}else{
|
||||
print $q->textfield(-class=>'stxt2',-name=>"$key",-default=>"$valxx",-size=>"$size",-override=>'1', -maxlength=>40, -placeholder=>"$des"),"\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue