|
59 | 59 | </tr> |
60 | 60 | </table> |
61 | 61 | <div class="floatRight width200"> |
62 | | - <div class="btn btn-txt height36 custCol-secondary js-orderShort marginBottom5 width100"> |
63 | | - <%= polyglot.t('transactions.OrderDetails') %> |
64 | | - </div> |
65 | | - <div class="btn btn-txt height36 custCol-secondary marginBottom5 width100 positionWrapper js-orderShortDiscusson <% if(!ob.unread){ %> hide <% } %>" |
66 | | - data-order="<%= ob.order_id %>"> |
67 | | - <i class="ion-chatbubbles"></i> <%= polyglot.t('Discussion') %> |
68 | | - <div class="badge js-unreadBadge" data-count="<%= ob.unread || 0 %>"></div> |
69 | | - </div> |
70 | 62 | <% if(ob.transactionType == "purchases" && ob.status == 0){ %> |
71 | | - <div class="btn btn-txt height36 custCol-secondary marginBottom5 width100 js-orderShort"> |
72 | | - <%= polyglot.t('transactions.PayPurchase') %> |
73 | | - </div> |
| 63 | + <div class="btn btn-txt height36 custCol-secondary marginBottom5 width100 js-orderShort"> |
| 64 | + <%= polyglot.t('transactions.PayPurchase') %> |
| 65 | + </div> |
74 | 66 | <% } else if(ob.transactionType == "sales" && ob.status == 1){ %> |
75 | | - <div class="btn btn-txt height36 custCol-secondary js-orderShortConfirm marginBottom5 width100"> |
| 67 | + <div class="btn btn-txt height36 custCol-secondary js-orderShortConfirm marginBottom5 width100"> |
76 | 68 | <% if (ob.contract_type == "digital good" || ob.contract_type == "service") { %> |
77 | | - <%= polyglot.t('transactions.ConfirmOrder') %> |
| 69 | + <%= polyglot.t('transactions.ConfirmOrder') %> |
78 | 70 | <% } else { %> |
79 | | - <%= polyglot.t('transactions.MarkAsShipped') %> |
80 | | - <% } %> |
81 | | - </div> |
| 71 | + <%= polyglot.t('transactions.MarkAsShipped') %> |
| 72 | + <% } %> |
| 73 | + </div> |
82 | 74 | <% } else if(ob.transactionType == "purchases" && ob.status == 2){ %> |
83 | | - <div class="btn btn-txt height36 custCol-secondary js-orderShortComplete marginBottom5 width100"> |
84 | | - <%= polyglot.t('transactions.CompleteOrder') %> |
| 75 | + <div class="btn btn-txt height36 custCol-secondary js-orderShortComplete marginBottom5 width100"> |
| 76 | + <%= polyglot.t('transactions.CompleteOrder') %> |
| 77 | + </div> |
| 78 | + <% } else { %> |
| 79 | + <div class="btn btn-txt height36 custCol-secondary js-orderShort marginBottom5 width100"> |
| 80 | + <%= polyglot.t('transactions.OrderDetails') %> |
85 | 81 | </div> |
86 | 82 | <% } %> |
| 83 | + <div class="btn btn-txt height36 custCol-secondary marginBottom5 width100 positionWrapper js-orderShortDiscusson <% if(!ob.unread){ %> hide <% } %>" |
| 84 | + data-order="<%= ob.order_id %>"> |
| 85 | + <i class="ion-chatbubbles"></i> <%= polyglot.t('Discussion') %> |
| 86 | + <div class="badge js-unreadBadge" data-count="<%= ob.unread || 0 %>"></div> |
| 87 | + </div> |
87 | 88 | </div> |
88 | 89 | </div> |
89 | 90 | </div> |
|
0 commit comments