<?php $this->placeholder('breadcrumb')->set('<a href="/relationships.php">Relationships</a> > <a href="/cont_mgmt/view_vendor.php?vendor_id='.$this->subaccount->vendor->vendorId.'">'.(trim($this->subaccount->vendor->vendorName) != '' ? $this->subaccount->vendor->vendorName : $this->subaccount->vendor->company).'</a> >
		 <a href="/subaccount/viewsubaccount/subaccount_id/'.$this->subaccount->subaccountId.'">'.$this->subaccount->subaccountName.'</a> > Edit Gras Registration');?>
<!-- Edit Carveout -->
<span class="floatClear"></span>
<!-- Grass Registration -->
<form name="form1" action="/subaccount/editgrasregistration/subaccount_id/<?=$this->subaccount->subaccountId;?>" method="POST">
    <div class="panelHeader" id="grasregistration_header">
        <h3>GRAS Registration</h3>
    </div>
    <div class="panelContent" id="grasregistration_content">
        <table class="form wide">
            <tr>
                <th>Repertoire Owner:</th>
                <td><input type="text" name="rep_owner_name" class="textField small" value="<?=$this->rep_owner_name;?>"></td>
                <th>Repertoire Owner Key Code:</th>
                <td><input type="text" name="rep_owner_code" class="textField small" value="<?=$this->rep_owner_code;?>""></td>
            </tr>
            <tr>
                <th>GRAS imprint:</th>
                <td><input type="text" name="gras_imprint_name" class="textField small" value="<?=$this->gras_imprint_name;?>""></td>
                <th>GRAS imprint Key Code:</th>
                <td><input type="text" name="gras_imprint_code" class="textField small" value="<?=$this->gras_imprint_code;?>""></td>
            </tr>
            <tr>
                <th>FLoR (U.S. Distro Only):</th>
                <td><input type="text" name="financial_label_name" class="textField small" value="<?=$this->financial_label_name;?>"></td>
                <th>FLoR (U.S. Distro Only) Key Code:</th>
                <td><input type="text" name="financial_label_code" class="textField small" value="<?=$this->financial_label_code;?>"></td>
            </tr>
            <tr>
                <th>SAP Profit Center:</th>
                <td><input type="text" name="sap_profit_center_name" class="textField small" value="<?=$this->sap_profit_center_name;?>"></td>
                <th>SAP Profit Center Key Code:</th>
                <td><input type="text" name="sap_profit_center_code" class="textField small" value="<?=$this->sap_profit_center_code;?>"></td>
            </tr>
            <tr>
                <th></th>
                <td><?php echo isset($this->sonyMetadataError) ? '* ' . $this->sonyMetadataError : ''?></td>
                <th></th>
                <td>
                    <input type="submit" name="submit" value="Submit">
                </td>
            </tr>
        </table>
    </div>
</form>
