/beta/CRM/AccountsEditLogViewer.asp

http://github.com/khaneh/Orders · ASP · 132 lines · 126 code · 5 blank · 1 comment · 3 complexity · a4410bf73129985599af6953f9503032 MD5 · raw file

  1. <%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%><%
  2. 'CRM (1)
  3. PageTitle=""
  4. SubmenuItem=1
  5. if not Auth(1 , 1) then NotAllowdToViewThisPage()
  6. %>
  7. <meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
  8. <!--#include file="../config.asp" -->
  9. <!--#include File="../include_farsiDateHandling.asp"-->
  10. <!--#include File="../include_JS_InputMasks.asp"-->
  11. <STYLE>
  12. .GetCustTbl {font-family:tahoma; background-color: #DDDDDD; width:630; direction: RTL; }
  13. .GetCustTbl td {padding:2; font-size: 9pt; height:25;}
  14. .GetCustInp { font-family:tahoma; font-size: 9pt;}
  15. .CusTableHeader {background-color: #33AACC; text-align: center; font-weight:bold;}
  16. .CustContactTable {font-family:tahoma; width:100%; border:1 solid black; direction: RTL; background-color:#CCCCCC;}
  17. .CustContactTable td {padding:5;}
  18. .CustTable1 {font-family:tahoma; width:100%; height:100%; border:2px solid black; direction: RTL; background-color:#CCCCCC; }
  19. .CustTable1 a {text-decoration:none;color:#000088}
  20. .CustTable1 a:hover {text-decoration:underline;}
  21. .CustTable2 {font-family:tahoma; border:none; direction: RTL; width:100%; height:100%;}
  22. .CustTable3 {font-family:tahoma; border:1px solid black; direction: RTL; background-color:black; }
  23. .CustTable3 td {padding:5px;}
  24. .CustTable4 {font-family:tahoma; direction: RTL; width:100%; height:100%; background-color:#C3DBEB;}
  25. .CustTableMenu {width:100%; border:none; direction: RTL;}
  26. .CustTableMenu td {border-bottom:1 solid black; height:25px; padding:5px;}
  27. .CustTableMenuSelected {background-color:#C3DBEB;}
  28. .CusTD1 {background-color: #CCCC66; text-align: left; font-weight:bold;}
  29. .CusTD2 {background-color: #DDDDDD; direction: LTR; text-align: right; font-size:9pt;}
  30. </STYLE>
  31. <%
  32. AutoKey = clng(request("AutoKey"))
  33. set RS1=Conn.execute("SELECT AccountsEditLog.*, Users.RealName AS CSRName FROM AccountsEditLog LEFT OUTER JOIN Users ON AccountsEditLog.CSR = Users.ID where AccountsEditLog.AutoKey = " & AutoKey )
  34. %>
  35. <TABLE topmargin=0 leftmargin=0 width="100%">
  36. <TR>
  37. <TD>
  38. <table class="CustTable3" cellspacing='1' cellspacing='1' width="100%">
  39. <tr>
  40. <td class="CusTD1" width="80"> : </td>
  41. <td class="CusTD2"><span dir="RTL"><%=RS1("AccountTitle")%></span></td>
  42. </tr>
  43. <tr>
  44. <td class="CusTD1"> :</td>
  45. <td class="CusTD2"><%=RS1("ID")%></td>
  46. </tr>
  47. <tr>
  48. <td class="CusTD1"> : </td>
  49. <% if RS1("IsPersonal") then %>
  50. <td class="CusTD2"><font color="Gray"> </font></td>
  51. <% else%>
  52. <td class="CusTD2"><%=RS1("CompanyName")%></td>
  53. <% end if%>
  54. </tr>
  55. <tr>
  56. <td class="CusTD1"> : </td>
  57. <td class="CusTD2"><%=RS1("CreatedDate")%></td>
  58. </tr>
  59. <tr>
  60. <td class="CusTD1"> : </td>
  61. <td class="CusTD2"><%=RS1("CSRName")%></td>
  62. </tr>
  63. <tr>
  64. <td class="CusTD1"> : </td>
  65. <td class="CusTD2"><%=Separate(RS1("ARBalance"))%></td>
  66. </tr>
  67. <tr>
  68. <td class="CusTD1"> : </td>
  69. <td class="CusTD2"><%=Separate(RS1("APBalance"))%></td>
  70. </tr>
  71. <%if Auth("B" , 0) then %>
  72. <tr>
  73. <td class="CusTD1"> :</td>
  74. <td class="CusTD2"><%=Separate(RS1("AOBalance"))%></td>
  75. </tr>
  76. <%end if %>
  77. <tr>
  78. <td class="CusTD1"> : </td>
  79. <td class="CusTD2"><%=RS1("CreditLimit")%></td>
  80. </tr>
  81. <tr>
  82. <td class="CusTD1" valign="top"> : </td>
  83. <td class="CusTD2"><TABLE class="CustContactTable">
  84. <TR>
  85. <TD><%=RS1("Dear1")%> - <%=RS1("FirstName1")%> - <%=RS1("LastName1")%></TD>
  86. <TD width="140" style="border-right:1 solid black;"> : <%=RS1("Tel1")%></TD>
  87. </TR>
  88. <TR>
  89. <TD rowspan="2" valign="top"> : <%=RS1("City1")%> - <%=RS1("Address1")%></TD>
  90. <TD style="border-right:1 solid black;"> : <%=RS1("Fax1")%></TD>
  91. </TR>
  92. <TR>
  93. <TD style="border-right:1 solid black;"> : <%=RS1("Email1")%></TD>
  94. </TR>
  95. <TR>
  96. <TD>ρ: <%=RS1("PostCode1")%></TD>
  97. <TD style="border-right:1 solid black;">: <%=RS1("Mobile1")%></TD>
  98. </TR>
  99. </TABLE>
  100. </td>
  101. </tr>
  102. <tr>
  103. <td class="CusTD1" valign="top"> : </td>
  104. <td class="CusTD2"><TABLE class="CustContactTable">
  105. <TR>
  106. <TD><%=RS1("Dear2")%> - <%=RS1("FirstName2")%> - <%=RS1("LastName2")%></TD>
  107. <TD style="border-right:1 solid black;" width="140"> : <%=RS1("Tel2")%></TD>
  108. </TR>
  109. <TR>
  110. <TD rowspan="2" valign="top"> : <%=RS1("City2")%> - <%=RS1("Address2")%></TD>
  111. <TD style="border-right:1 solid black;"> : <%=RS1("Fax2")%></TD>
  112. </TR>
  113. <TR>
  114. <TD style="border-right:1 solid black;"> : <%=RS1("Email2")%></TD>
  115. </TR>
  116. <TR>
  117. <TD>ρ: <%=RS1("PostCode2")%></TD>
  118. <TD style="border-right:1 solid black;">: <%=RS1("Mobile2")%></TD>
  119. </TR>
  120. </TABLE>
  121. </td>
  122. </tr>
  123. </table>
  124. </TD>
  125. </TR>
  126. </TABLE>
  127. <!--#include file="tah.asp" -->