Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Madhuk
vtigercrm
Commits
67a89a63
Commit
67a89a63
authored
8 months ago
by
Prasad
Browse files
Options
Downloads
Patches
Plain Diff
Minor layout improvement for Inventory line-items
parent
fa931e33
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
layouts/v7/modules/Inventory/partials/LineItemsContent.tpl
+16
-16
16 additions, 16 deletions
layouts/v7/modules/Inventory/partials/LineItemsContent.tpl
layouts/v7/skins/vtiger/style.less
+1
-0
1 addition, 0 deletions
layouts/v7/skins/vtiger/style.less
with
17 additions
and
16 deletions
layouts/v7/modules/Inventory/partials/LineItemsContent.tpl
+
16
−
16
View file @
67a89a63
...
...
@@ -81,24 +81,24 @@
{/
if
}
<input
type=
"hidden"
id=
"
{
$hdnProductId
}
"
name=
"
{
$hdnProductId
}
"
value=
"{(isset($data.$hdnProductId)) ? $data.$hdnProductId : "
"}"
class=
"selectedModuleId"
/>
<input
type=
"hidden"
id=
"lineItemType
{
$row_no
}
"
name=
"lineItemType
{
$row_no
}
"
value=
"
{
$entityType
}
"
class=
"lineItemType"
/>
<div
class=
"col-lg-2"
>
{
if
$row_no
eq
0
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ServicesPopup"
title=
"
{
vtranslate
(
'Services'
,
$MODULE
)
}
"
data-module-name=
"Services"
data-field-name=
"serviceid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Services'
)
}
</span>
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ProductsPopup"
title=
"
{
vtranslate
(
'Products'
,
$MODULE
)
}
"
data-module-name=
"Products"
data-field-name=
"productid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Products'
)
}
</span>
{
elseif
$entityType
eq
''
and
$PRODUCT_ACTIVE
eq
'true'
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ProductsPopup"
title=
"
{
vtranslate
(
'Products'
,
$MODULE
)
}
"
data-module-name=
"Products"
data-field-name=
"productid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Products'
)
}
</span>
{
elseif
$entityType
eq
''
and
$SERVICE_ACTIVE
eq
'true'
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ServicesPopup"
title=
"
{
vtranslate
(
'Services'
,
$MODULE
)
}
"
data-module-name=
"Services"
data-field-name=
"serviceid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Services'
)
}
</span>
{
else
}
{
if
(
$entityType
eq
'Services'
)
and
(
isset
(
$data
.
$productDeleted
)
&&
!
$data
.
$productDeleted
)
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ServicesPopup"
title=
"
{
vtranslate
(
'Services'
,
$MODULE
)
}
"
data-module-name=
"Services"
data-field-name=
"serviceid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Services'
)
}
</span>
{
elseif
(!
$data
.
$productDeleted
)
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ProductsPopup"
title=
"
{
vtranslate
(
'Products'
,
$MODULE
)
}
"
data-module-name=
"Products"
data-field-name=
"productid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Products'
)
}
</span>
{/
if
}
{/
if
}
</div>
</div>
</div>
<div
class=
"col-lg-2"
>
{
if
$row_no
eq
0
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ServicesPopup"
title=
"
{
vtranslate
(
'Services'
,
$MODULE
)
}
"
data-module-name=
"Services"
data-field-name=
"serviceid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Services'
)
}
</span>
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ProductsPopup"
title=
"
{
vtranslate
(
'Products'
,
$MODULE
)
}
"
data-module-name=
"Products"
data-field-name=
"productid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Products'
)
}
</span>
{
elseif
$entityType
eq
''
and
$PRODUCT_ACTIVE
eq
'true'
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ProductsPopup"
title=
"
{
vtranslate
(
'Products'
,
$MODULE
)
}
"
data-module-name=
"Products"
data-field-name=
"productid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Products'
)
}
</span>
{
elseif
$entityType
eq
''
and
$SERVICE_ACTIVE
eq
'true'
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ServicesPopup"
title=
"
{
vtranslate
(
'Services'
,
$MODULE
)
}
"
data-module-name=
"Services"
data-field-name=
"serviceid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Services'
)
}
</span>
{
else
}
{
if
(
$entityType
eq
'Services'
)
and
(
isset
(
$data
.
$productDeleted
)
&&
!
$data
.
$productDeleted
)
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ServicesPopup"
title=
"
{
vtranslate
(
'Services'
,
$MODULE
)
}
"
data-module-name=
"Services"
data-field-name=
"serviceid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Services'
)
}
</span>
{
elseif
(!
$data
.
$productDeleted
)
}
<span
class=
"lineItemPopup cursorPointer"
data-popup=
"ProductsPopup"
title=
"
{
vtranslate
(
'Products'
,
$MODULE
)
}
"
data-module-name=
"Products"
data-field-name=
"productid"
>
{
Vtiger_Module_Model
::
getModuleIconPath
(
'Products'
)
}
</span>
{/
if
}
{/
if
}
</div>
</div>
</div>
<input
type=
"hidden"
value=
"{(isset($data.$subproduct_ids)) ? $data.$subproduct_ids : "
"}"
id=
"
{
$subproduct_ids
}
"
name=
"
{
$subproduct_ids
}
"
class=
"subProductIds"
/>
...
...
This diff is collapsed.
Click to expand it.
layouts/v7/skins/vtiger/style.less
+
1
−
0
View file @
67a89a63
...
...
@@ -6981,6 +6981,7 @@ div.tooltip-inner{
#lineItemTab .lineItemRow .listPrice {
float:left;
margin-right: 5px;
width: 75%; /* make space for price-book */
}
/* Fix Text area in Line Items */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment