<?php /** * DO NOT EDIT THIS FILE! Instead customize it via a theme override. * * Any edit will not be saved when this plugin is upgraded. Not upgrading will prevent you from receiving new features, * limit our ability to support your site and potentially expose your site to security risk that an upgrade has fixed. * * https://sproutapps.co/support/knowledgebase/sprout-invoices/customizing-templates/ * * You find something that you're not able to customize? We want your experience to be awesome so let support know and we'll be able to help you. * */ ?> <form id="si_estimate_submission" method="post" action="" enctype="multipart/form-data"> <?php sa_form_fields($fields, 'estimate'); ?> <div class="form-actions"> <input type="submit" class="btn btn-primary" value="<?php si_e('Submit'); ?> " /> </div> </form>
<!-- Create Client Form --> <div id="client_creation_modal" style="display:none;"> <div id="client_create_form" class="clearfix"> <?php sa_form_fields($fields, 'client'); ?> </div> <p> <a href="javascript:void(0)" id="create_client" class="button button-large button-primary"><?php _e('Create client', 'sprout-invoices'); ?> </a> </p> </div>
?> </legend> <?php sa_form_fields($billing_fields, 'billing'); ?> <?php do_action('si_billing_payment_fields', $checkout); ?> </fieldset> <fieldset id="credit_card_fields" class="sa-fieldset"> <legend><?php si_e('Credit Card'); ?> </legend> <?php sa_form_fields($cc_fields, 'credit'); ?> <?php do_action('si_credit_card_payment_fields', $checkout); ?> </fieldset> <?php do_action('si_credit_card_form_controls', $checkout); ?> <?php do_action('si_credit_card_payment_controls', $checkout); ?> <input type="hidden" name="<?php echo SI_Checkouts::CHECKOUT_ACTION; ?> " value="<?php
<!-- User Creation Form --> <div id="user_creation_modal" style="display:none;"> <div id="user_create_form" class="clearfix"> <?php sa_form_fields($fields, 'user'); ?> </div> <p> <a href="javascript:void(0)" id="sc_create_user" class="button button-large button-primary"><?php sc_e('Create user'); ?> </a> </p> </div>
<div id="check_info_checkout_wrap"> <form action="<?php echo si_get_payment_link(get_the_ID(), $type); ?> " method="post" accept-charset="utf-8" class="sa-form sa-form-aligned"> <fieldset id="checks_fields" class="sa-fieldset"> <?php sa_form_fields($check_fields, 'checks'); ?> </fieldset> <?php do_action('si_checks_form_controls', $checkout); ?> <?php do_action('si_checks_payment_controls', $checkout); ?> <input type="hidden" name="<?php echo SI_Checkouts::CHECKOUT_ACTION; ?> " value="<?php echo SI_Checkouts::PAYMENT_PAGE; ?> " /> <button type="submit" class="button button-primary"><?php _e('Submit', 'sprout-invoices'); ?> </button> </form> </div><!-- #credit_card_checkout_wrap -->
function _ask_to_auto_bill_on_checkout() { $selection = array(); $selection['allow_to_autobill'] = array('type' => 'checkbox', 'weight' => 10, 'label' => 'Please save my credit card details...', 'default' => false); sa_form_fields($selection, 'billing'); }