-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Shanu
committed
Dec 18, 2010
1 parent
dc13224
commit b86c84d
Showing
16 changed files
with
142 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.breigns.vms.utility | ||
|
||
import java.text.SimpleDateFormat | ||
|
||
class DateUtils { | ||
def simpleDateFormat = new SimpleDateFormat("dd/MM/yyyy") | ||
|
||
def getDateFromString(dateAsString) { | ||
simpleDateFormat.parse(dateAsString) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
<div id="message_box" style="text-align:center"> | ||
<g:if test="flash.message"> | ||
${flash.message} | ||
</g:if> | ||
</div> | ||
<g:if test="${voucherFound}"> | ||
<div style="text-align:center"> | ||
<h3 style="margin:20px;">Voucher Found</h3> | ||
</div> | ||
<table> | ||
<tr> | ||
<td>Sequence Number</td> | ||
<td style="text-align:left">Sequence Number</td> | ||
<td><input disabled="true" value="${voucher.generatedSequence}"/></td> | ||
<td style="text-align:center">Bar Code</td> | ||
<td style="text-align:left">Bar Code</td> | ||
<td><input disabled="true" value="${voucher.barcodeAlpha}"/></td> | ||
</tr> | ||
<tr> | ||
<td>Value</td> | ||
<td style="text-align:left">Value</td> | ||
<td><input disabled="true" value="${voucher.value}"/></td> | ||
<td style="text-align:center">Company Name</td> | ||
<td style="text-align:left">Company Name</td> | ||
<td><input disabled="true" value="${voucher.client.name}"/></td> | ||
</tr> | ||
<tr> | ||
<td style="text-align:left">Valid Thru(dd/mm/yyyy)</td> | ||
<td><input disabled="true" value= <g:formatDate date="${voucher.validThru}" format="dd/MM/yyyy"/>></td> | ||
<td style="text-align:left">Remarks</td> | ||
<td><textarea disabled="true">${voucher.voucherInvoice.remarks}</textarea></td> | ||
</tr> | ||
</table> | ||
<g:hiddenField name="voucherId" value="${voucher.id}"/> | ||
</g:if> | ||
<g:elseif test="${voucherFound}"> | ||
<div id="message_box" style="text-align:center"> | ||
<g:if test="flash.message"> | ||
${flash.message} | ||
</g:if> | ||
</div> | ||
</g:elseif> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.