Working on the employees
also redo the table into css div's
.glm-billing-form input[type=submit] {
margin-top: 20px;
}
+
+/* css for the billing info form */
+.glm-billing-employee {
+ width: 100%;
+ background-color: #eee;
+ margin: 1px;
+ padding: 5px;
+}
+.glm-billing-employee label {
+ width: 90px;
+ display: inline;
+ float: right;
+}
}
}
+ // Get a list of this accounts employees. If they have any.
+ $employees = $BillingSupport->getListOfAccountEmployees( $this->memberID );
+
// Need to see if there's an account for this member.
$accountID = $this->wpdb->get_var(
$this->wpdb->prepare(
</div>
{/if}
+ <div class="glm-billing-field">
+ <div class="glm-billing-label">
+ <strong>Associated Members/Employees</strong>
+ </div>
+ <div class="glm-billing-input">
+ <select>
+ <option value="">Select Member to Add</option>
+ </select>
+ {if $employees}
+ {foreach $employees as $employee}
+ <div class="glm-billing-employee">
+ {$employee.ref_name}
+ <label><input type="checkbox" name="delete[]" value="{$employee.ref_dest}"> Remove </label>
+ </div>
+ {/foreach}
+ {/if}
+ </div>
+ </div>
+
</fieldset>
<fieldset>