Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
invoice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web2project
invoice
Commits
9bc003fb
Commit
9bc003fb
authored
Jan 26, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use w2p primitives
parent
208cafed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
do_invoice_aed.php
do_invoice_aed.php
+1
-1
vw_inc.php
vw_inc.php
+1
-1
No files found.
do_invoice_aed.php
View file @
9bc003fb
...
@@ -22,7 +22,7 @@ if ($del) {
...
@@ -22,7 +22,7 @@ if ($del) {
}
else
{
}
else
{
$AppUI
->
setMsg
(
"Invoice deleted"
,
UI_MSG_ALERT
);
$AppUI
->
setMsg
(
"Invoice deleted"
,
UI_MSG_ALERT
);
}
}
msg
=
"m=invoice&a=addedit&invoice_id="
.
$obj
->
task_invoice
.
"&project_id="
.
$obj
->
invoice_project
;
$
msg
=
"m=invoice&a=addedit&invoice_id="
.
$obj
->
task_invoice
.
"&project_id="
.
$obj
->
invoice_project
;
}
else
if
(
$stat
!=
-
1
&&
$obj
->
task_invoice
!=
0
)
{
}
else
if
(
$stat
!=
-
1
&&
$obj
->
task_invoice
!=
0
)
{
if
(
!
$obj
->
change_status
(
$stat
))
{
if
(
!
$obj
->
change_status
(
$stat
))
{
$AppUI
->
setMsg
(
'Invoice status change failed'
,
UI_MSG_ERROR
);
$AppUI
->
setMsg
(
'Invoice status change failed'
,
UI_MSG_ERROR
);
...
...
vw_inc.php
View file @
9bc003fb
...
@@ -66,7 +66,7 @@ foreach ($invoices as $row)
...
@@ -66,7 +66,7 @@ foreach ($invoices as $row)
$s
=
'<tr>'
;
$s
=
'<tr>'
;
$s
.=
$CR
.
'<td>'
;
$s
.=
$CR
.
'<td>'
;
if
(
$type
==
0
)
if
(
$type
==
0
)
$s
.=
'<a href="?m=invoice&a=addedit&invoice_id='
.
$row
[
'invoice_id'
]
.
'&project_id='
.
$row
[
'invoice_project'
]
.
'">
<img src="./images/icons/pencil.gif" alt="'
.
$AppUI
->
_
(
'Edit Invoice'
)
.
'" border="0" width="12" height="12">
</a>'
;
$s
.=
'<a href="?m=invoice&a=addedit&invoice_id='
.
$row
[
'invoice_id'
]
.
'&project_id='
.
$row
[
'invoice_project'
]
.
'">
'
.
w2PshowImage
(
'icons/pencil.gif'
,
'16'
,
'16'
)
.
'
</a>'
;
$s
.=
' </td>'
;
$s
.=
' </td>'
;
$s
.=
$CR
.
'<td nowrap="nowrap" width=100><a href="?m=invoice&a=view&project_id='
.
$row
[
"invoice_project"
]
.
'&invoice_id='
.
$row
[
"invoice_id"
]
.
'">#'
.
$row
[
"invoice_id"
]
.
'</a></td>'
;
$s
.=
$CR
.
'<td nowrap="nowrap" width=100><a href="?m=invoice&a=view&project_id='
.
$row
[
"invoice_project"
]
.
'&invoice_id='
.
$row
[
"invoice_id"
]
.
'">#'
.
$row
[
"invoice_id"
]
.
'</a></td>'
;
$s
.=
$CR
.
'<td nowrap="nowrap" width=100><a href="?m=invoice&a=view&project_id='
.
$row
[
"invoice_project"
]
.
'&invoice_id='
.
$row
[
"invoice_id"
]
.
'">'
.
$row
[
"invoice_tag"
]
.
'</a></td>'
;
$s
.=
$CR
.
'<td nowrap="nowrap" width=100><a href="?m=invoice&a=view&project_id='
.
$row
[
"invoice_project"
]
.
'&invoice_id='
.
$row
[
"invoice_id"
]
.
'">'
.
$row
[
"invoice_tag"
]
.
'</a></td>'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment