svn commit: r1758953 - /ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1758953 - /ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl

diveshdutta
Author: diveshdutta
Date: Fri Sep  2 13:35:14 2016
New Revision: 1758953

URL: http://svn.apache.org/viewvc?rev=1758953&view=rev
Log:
[OFBIZ-6899] Adding AddCheckForParty.ftl, which I missed in last commit.

Added:
    ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl

Added: ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl?rev=1758953&view=auto
==============================================================================
--- ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl (added)
+++ ofbiz/trunk/applications/party/template/party/AddCheckForParty.ftl Fri Sep  2 13:35:14 2016
@@ -0,0 +1,136 @@
+<div class="screenlet">
+  <div class="screenlet-title-bar">
+      <h3>${uiLabelMap.AccountingAddCheckAccount}</h3>
+  </div>
+  <div class="screenlet-body">
+    <form method="post" action='<@ofbizUrl>createCheckForParty?DONE_PAGE=${donePage}</@ofbizUrl>' name="addcheckform" style='margin: 0;'>
+      <input type="hidden" name="partyId" value="${parameters.partyId}"/>
+      <table class="basic-table" cellspacing="0">
+        <tr>
+          <td class="label">${uiLabelMap.AccountingNameAccount}</td>
+          <td>
+            <input type="text" class='required' size="30" maxlength="60" name="nameOnAccount" />
+            <span class="tooltip">${uiLabelMap.CommonRequired}</span>
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.AccountingCompanyNameAccount}</td>
+          <td>
+            <input type="text" size="30" maxlength="60" name="companyNameOnAccount" />
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.AccountingBankName}</td>
+          <td>
+            <input type="text" class='required' size="30" maxlength="60" name="bankName" value="" />
+            <span class="tooltip">${uiLabelMap.CommonRequired}</span>
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.CommonPaymentMethodType}</td>
+          <td>
+            <select name="paymentMethodTypeId" class='required'>
+              <option>CERTIFIED_CHECK</option>
+              <option>COMPANY_CHECK</option>
+              <option>PERSONAL_CHECK</option>
+            </select>
+            <span class="tooltip">${uiLabelMap.CommonRequired}</span>
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.AccountingRoutingNumber}</td>
+          <td>
+            <input type="text" size="10" maxlength="30" name="routingNumber"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.AccountingAccountType}</td>
+          <td>
+            <select name="accountType">
+              <option></option>
+              <option>${uiLabelMap.CommonChecking}</option>
+              <option>${uiLabelMap.CommonSavings}</option>
+            </select>
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.AccountingAccountNumber}</td>
+          <td>
+            <input type="text" size="20" maxlength="40" name="accountNumber" />
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.CommonDescription}</td>
+          <td>
+            <input type="text" size="30" maxlength="60" name="description"/>
+          </td>
+        </tr>
+        <tr>
+          <td class="label">${uiLabelMap.PartyBillingAddress}</td>
+          <td>
+            <table cellspacing="0">
+              <#if curPostalAddress??>
+                <tr>
+                  <td class="button-col">
+                    <input type="radio" name="contactMechId" value="${curContactMechId}" checked="checked" />
+                  </td>
+                  <td>
+                    <p><b>${uiLabelMap.PartyUseCurrentAddress}:</b></p>
+                    <#list curPartyContactMechPurposes as curPartyContactMechPurpose>
+                    <#assign curContactMechPurposeType = curPartyContactMechPurpose.getRelatedOne("ContactMechPurposeType", true)>
+                    <p><b>${curContactMechPurposeType.get("description",locale)!}</b></p>
+                    <#if curPartyContactMechPurpose.thruDate??>
+                    <p>(${uiLabelMap.CommonExpire}:${curPartyContactMechPurpose.thruDate.toString()})</p>
+                    </#if>
+                    </#list>
+                      <#if curPostalAddress.toName??><p><b>${uiLabelMap.CommonTo}:</b> ${curPostalAddress.toName}</p></#if>
+                      <#if curPostalAddress.attnName??><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${curPostalAddress.attnName}</p></#if>
+                      <#if curPostalAddress.address1??><p>${curPostalAddress.address1}</p></#if>
+                      <#if curPostalAddress.address2??><p>${curPostalAddress.address2}</p></#if>
+                      <p>${curPostalAddress.city}<#if curPostalAddress.stateProvinceGeoId?has_content>,&nbsp;${curPostalAddress.stateProvinceGeoId}</#if>&nbsp;${curPostalAddress.postalCode}</p>
+                      <#if curPostalAddress.countryGeoId??><p>${curPostalAddress.countryGeoId}</p></#if>
+                      <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(curPartyContactMech.fromDate.toString())!})</p>
+                      <#if curPartyContactMech.thruDate??><p><b>${uiLabelMap.CommonDelete}:&nbsp;${curPartyContactMech.thruDate.toString()}</b></p></#if>
+                  </td>
+                </tr>
+              </#if>
+                <#list postalAddressInfos as postalAddressInfo>
+                  <#assign contactMech = postalAddressInfo.contactMech>
+                  <#assign partyContactMechPurposes = postalAddressInfo.partyContactMechPurposes>
+                  <#assign postalAddress = postalAddressInfo.postalAddress>
+                  <#assign partyContactMech = postalAddressInfo.partyContactMech>
+                    <tr>
+                      <td class="button-col">
+                        <input type='radio' name='contactMechId' value='${contactMech.contactMechId}' />
+                      </td>
+                      <td>
+                        <#list partyContactMechPurposes as partyContactMechPurpose>
+                          <#assign contactMechPurposeType = partyContactMechPurpose.getRelatedOne("ContactMechPurposeType", true)>
+                          <p><b>${contactMechPurposeType.get("description",locale)!}</b></p>
+                          <#if partyContactMechPurpose.thruDate??><p>(${uiLabelMap.CommonExpire}:${partyContactMechPurpose.thruDate})</p></#if>
+                        </#list>
+                        <#if postalAddress.toName??><p><b>${uiLabelMap.CommonTo}:</b> ${postalAddress.toName}</p></#if>
+                        <#if postalAddress.attnName??><p><b>${uiLabelMap.PartyAddrAttnName}:</b> ${postalAddress.attnName}</p></#if>
+                        <#if postalAddress.address1??><p>${postalAddress.address1}</p></#if>
+                        <#if postalAddress.address2??><p>${postalAddress.address2}</p></#if>
+                        <p>${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>,&nbsp;${postalAddress.stateProvinceGeoId}</#if>&nbsp;${postalAddress.postalCode}</p>
+                        <#if postalAddress.countryGeoId??><p>${postalAddress.countryGeoId}</p></#if>
+                        <p>(${uiLabelMap.CommonUpdated}:&nbsp;${(partyContactMech.fromDate.toString())!})</p>
+                        <#if partyContactMech.thruDate??><p><b>${uiLabelMap.CommonDelete}:&nbsp;${partyContactMech.thruDate.toString()}</b></p></#if>
+                      </td>
+                    </tr>
+                  </#list>
+                  <#if !postalAddressInfos?has_content && !curContactMech??>
+                  <tr><td colspan='2'>${uiLabelMap.PartyNoContactInformation}.</td></tr>
+                </#if>
+              </table>
+            </td>
+          </tr>
+      </table>
+    </form>
+    <div class="button-bar">
+      <a href="<@ofbizUrl>${donePage}?partyId=${partyId}</@ofbizUrl>" class="smallSubmit">${uiLabelMap.CommonCancelDone}</a>
+      <a href="javascript:document.addcheckform.submit()" class="smallSubmit">${uiLabelMap.CommonSave}</a>
+    </div>
+  </div>
+</div>
\ No newline at end of file