display: inline;
float: right;
}
+
+@media only screen and (max-width: 600px) {
+ .glm-billing-left-half {
+ width: 100%;
+ }
+ .glm-billing-right-half {
+ width: 100%;
+ }
+}
.glm-billing-form input[type=submit] {
margin-top: 20px;
}
+
+@media only screen and (max-width: 600px) {
+ .glm-billing-left-half {
+ width: 100%;
+ }
+ .glm-billing-right-half {
+ width: 100%;
+ }
+}
$error = true;
$messages[] = $errors['password'] = "<span style='color: red;'>Passwords don't match!</span>";
}
- // if ( isset( $passwd ) && preg_match()
- // $messages[] = '<pre>$wpUser: ' . print_r( $wpUser, true ) . '</pre>';
- // Password test.
- // Verify they match and they aren't weak passwords.
-
// Process the main form
+ // 1. Setup the member
+ $memberData = array(
+ 'access' => $access,
+ 'member_type' => $memberType,
+ 'created' => date( 'Y-m-d' ),
+ 'member_slug' => $memberSlug,
+ );
+ // 2. Setup the member_info
+ $memberInfoData = array(
+ 'member',
+ 'member_name',
+ 'status',
+ 'reference_name',
+ 'descr',
+ 'short_descr',
+ 'addr1',
+ 'addr2',
+ 'city',
+ 'state',
+ 'country',
+ 'zip',
+ 'region',
+ 'county',
+ 'phone',
+ 'toll_free',
+ 'url',
+ 'email',
+ 'mailing_addr1',
+ 'mailing_addr2',
+ 'mailing_city',
+ 'mailing_state',
+ 'mailing_zip',
+ 'create_time',
+ );
+ // 3. Setup the contact (and wpUser)
+ // 4. Setup the custom fields
// Process any custom fields
break;
{/if}
<br clear="all">
-
+<pre>
+</pre>
<table class="wp-list-table widefat fixed posts glm-admin-table">
<thead>
<tr>
<th style="width: 70px;">Due Date</th>
<th style="width: 100px;">Amount Total</th>
<th style="width: 70px;">Balance</th>
+ <th style="width: 100px;">Pay Invoice</th>
<th style="width: 50px;">View</th>
</tr>
</thead>
<td> {$t.due_date.date} </td>
<td> {$t.amount_total} </td>
<td> {$t.balance} </td>
+ <td> {if $t.paid.value} {else}<a href="{$thisUrl}?page=glm-members-admin-menu-member&glm_action=billing&option=makepayment&member={$t.member_id}">Pay Invoice</a>{/if} </td>
<td> <a href="{$thisUrl}?page={$thisPage}&glm_action=invoices&option=view&id={$t.id}">View</a> </td>
</tr>
{/foreach}
<th>Line Items (invoices only)</th>
<th>Amount</th>
<th>Balance</th>
- <th> </th>
+ <th>Pay Invoice</th>
+ <th>View</th>
</tr>
</thead>
<tbody>
</td>
<td>${$transaction.transaction_data.amount_total}</td>
<td>${$transaction.transaction_data.balance}</td>
+ <td>{if $transaction.transaction_data.paid} {else}<a href="{$thisUrl}?page={$thisPage}&glm_action=billing&option=makepayment&member={$memberID}">Pay Invoice</a>{/if}</td>
<td> <a href="{$thisUrl}?page={$thisPage}&glm_action=billing&option=view&member={$memberID}&id={$transaction.type_id}">View</a> </td>
</tr>
{* Payments *}
<td>${$transaction.transaction_data.amount}</td>
<td> </td>
<td> </td>
+ <td> </td>
</tr>
{/if}
{$alt = $alt + 1}
{/foreach}
-<!--
- <tr{if $alt % 2 == 0} class="alternate"{/if}>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>Balance Due</td>
- <td>${$balance_due|string_format:"%.2f"}</td>
- <td> </td>
- </tr>
--->
</tbody>
</table>